/* ==========================================================
   LoginPage.css — STL DentalGuys Login Page
   Light Teal Theme · Glassmorphism Card · Matching App Design
   ========================================================== */

/* --------------- PAGE BACKGROUND --------------- */
.login-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #e0f7f6 0%, #f7fafa 40%, #ffffff 100%);
}

/* decorative shapes */
.login-page::before,
.login-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.login-page::before {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(1, 178, 170, 0.10) 0%, transparent 70%);
    top: -80px;
    right: -60px;
}

.login-page::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(1, 178, 170, 0.08) 0%, transparent 70%);
    bottom: -60px;
    left: -40px;
}

/* --------------- LOGIN CARD --------------- */
.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(1, 178, 170, 0.12);
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(1, 178, 170, 0.10),
        0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 40px 36px;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
    animation: loginFadeIn 0.6s ease;
    margin-top:65px;
}

@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* top accent bar */
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    /*background: linear-gradient(90deg, #01b2aa, #019b94);*/
}

/* --------------- LOGO --------------- */
.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.login-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* --------------- ICON CIRCLE --------------- */
.login-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e0f7f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.login-icon-circle i {
    font-size: 1.6rem;
    color: #01b2aa;
}

/* --------------- HEADINGS --------------- */
.login-card .login-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3331;
    text-align: center;
    margin-bottom: 6px;
}

.login-card .login-subtitle {
    font-size: 0.92rem;
    color: #6b8a87;
    text-align: center;
    margin-bottom: 28px;
}

/* --------------- FORM ELEMENTS --------------- */
.login-card .form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #3a5553;
    margin-bottom: 6px;
}

.login-card .input-group-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.login-card .input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #01b2aa;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.login-card .form-control {
    border: 1.5px solid #e2e8e8;
    border-radius: 12px;
    padding: 12px 14px 12px 42px;
    font-size: 0.92rem;
    color: #1e3331;
    background: rgba(255, 255, 255, 0.6);
    transition: 0.3s ease;
}

.login-card .form-control::placeholder {
    color: #a8c4c2;
}

.login-card .form-control:focus {
    border-color: #01b2aa;
    box-shadow: 0 0 0 4px rgba(1, 178, 170, 0.12);
    background: #ffffff;
    outline: none;
}

.login-card .text-danger {
    font-size: 0.78rem;
    margin-top: 4px;
    display: block;
}

/* --------------- SUBMIT BUTTON --------------- */
.login-card .btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #01b2aa, #019b94);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(1, 178, 170, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-card .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 178, 170, 0.30);
    background: linear-gradient(135deg, #019b94, #01b2aa);
}

.login-card .btn-login:active {
    transform: translateY(0);
}

/* --------------- REGISTER LINK --------------- */
.login-card .login-register-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8e8;
}

.login-card .login-register-link a {
    color: #01b2aa;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.login-card .login-register-link a:hover {
    color: #019b94;
    text-decoration: underline;
}

.login-card .login-register-link span {
    color: #6b8a87;
    font-size: 0.9rem;
}

/* --------------- RESPONSIVE --------------- */
@media (max-width: 576px) {
    .login-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .login-card .login-title {
        font-size: 1.35rem;
    }

    .login-icon-circle {
        width: 52px;
        height: 52px;
    }

    .login-icon-circle i {
        font-size: 1.3rem;
    }
}

@media (max-width: 380px) {
    .login-card {
        padding: 24px 16px;
    }

    .login-card .login-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================
   FORGOT PASSWORD
   ========================================================== */

.login-card .forgot-password-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
    margin-bottom: 20px;
}

.login-card .forgot-password-link {
    color: #01b2aa;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .login-card .forgot-password-link:hover {
        color: #019b94;
        text-decoration: underline;
    }

    .login-card .forgot-password-link:focus {
        color: #019b94;
        outline: none;
        text-decoration: underline;
    }

/* --------------- MOBILE --------------- */

@media (max-width: 576px) {

    .login-card .forgot-password-wrapper {
        margin-top: -6px;
        margin-bottom: 18px;
    }

    .login-card .forgot-password-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {

    .login-card .forgot-password-wrapper {
        margin-bottom: 16px;
    }

    .login-card .forgot-password-link {
        font-size: 0.78rem;
    }
}


