/* .login page css */
.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: url(../images/login.jpg) no-repeat center center/cover;
    height: 100vh;
}

/* CARD */
.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 16px;
    width: 400px;
    text-align: center;
    color: white;
    animation: fadeIn 0.6s ease;
    margin: 30px;
    height: 400px;
}

.login-card p {
    font-size: 24px;
}

/* INPUT */
.input-box {
    position: relative;
    margin: 20px 0;
    margin-bottom: 30px;
}


.input-box input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    outline: none;
}

.input-box label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #555;
    transition: 0.3s;
    pointer-events: none;
}

/* FLOAT LABEL */
.input-box input:focus+label,
.input-box input:valid+label {
    top: -18px;
    font-size: 12px;
    color: #ffffff;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    background: #0F766E;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #0F766E;
}

/* ERROR */
.error {
    color: #ff4d4d;
    font-size: 14px !important;
    min-height: 20px;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SHAKE */
.shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.signup-text {
    margin-top: 15px;
    font-size: 14px;
    color: #ddd;
}

.signup-text a {
    color: #14b8a6;
    text-decoration: none;
    font-weight: 600;
}

.signup-text a:hover {
    text-decoration: underline;
}

/* popup css */
/* BUTTON */
.demo-btn {
    padding: 12px 22px;
    background: #0F766E;
    color: #000000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* BACKDROP */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* MODAL */
.modal-content {
    background: #ffffff;
    /* backdrop-filter: blur(15px); */
    padding: 30px;
    border-radius: 16px;
    width: 500px;
    color: #000000;
    text-align: center;
    animation: fadeIn 0.4s ease;
    position: relative;
}

/* CLOSE */
.close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* FORM */
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.modal-content input {
    padding: 12px;
    border: 1px solid #000000;
    border-radius: 6px;
    outline: none;
}

.modal-content button {
    padding: 12px;
    background: #0F766E;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

/* ERROR */
.error {
    color: #ff4d4d;
    font-size: 13px !important;
    min-height: 18px;
}

/* SUCCESS */
.success {
    color: #0F766E;
    font-weight: bold;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* SHAKE */
.shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    50% {
        transform: translateX(6px);
    }

    75% {
        transform: translateX(-6px);
    }

    100% {
        transform: translateX(0);
    }
}


/* CARD */
.signup-container{
    width: 100%;
    display: flex;
    justify-content: center;
    background: url(../images/login.jpg) no-repeat center center/cover;
    height: 100vh;
}
.signup-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 20px 40px;
    border-radius: 16px;
    width: 400px;
    color: white;
    text-align: center;
    margin: 30px;
    animation: fadeIn 0.6s ease;
}
.signup-card p{
   font-size: 24px;
   margin-top: 0;
}

/* INPUT */
.input-box {
    position: relative;
    margin: 18px 0;
    margin-top: 25px;
}

.input-box input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    outline: none;
}

.input-box label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #555;
    transition: 0.3s;
    pointer-events: none;
}

/* FLOAT LABEL */
.input-box input:focus+label,
.input-box input:valid+label {
    top: -18px;
    font-size: 12px;
    color: #ffffff;
}

/* TOGGLE */
.toggle {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    background: #0F766E;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #0F766E;
}

/* ERROR */
.error {
    color: #ff4d4d;
    font-size: 14px !important;
    min-height: 20px;
    margin-top: 10px !important;
}

/* LINK */
.login-text {
    margin-top: 15px;
    margin-top: 5px !important;
    font-size: 14px !important;
}

.login-text a {
    color: #14b8a6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SHAKE */
.shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}