/* =========================================================================
   AUTH SCREEN STYLING (Login, Forgot, Reset Screens)
   ========================================================================= */

body.auth-body {
    background: linear-gradient(135deg, #0f172a, #1e1b4b, #311042);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 10;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: center;
    animation: fade-up 0.5s ease;
}

@keyframes fade-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.auth-logo {
    height: 54px;
    margin-bottom: 24px;
}

.auth-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: #fff;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.auth-form {
    text-align: left;
}

.auth-input-group {
    position: relative;
    margin-bottom: 20px;
}

.auth-input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    pointer-events: none;
    transition: all 0.3s;
}

.auth-input-field {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    outline: none;
    font-size: 16px;
    transition: all 0.3s;
}

.auth-input-field:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #4361ee;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.25);
}

.auth-input-field:focus + i {
    color: #4cc9f0;
}

.auth-input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.auth-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
}

.auth-remember input {
    accent-color: #4361ee;
}

.auth-link {
    color: #4cc9f0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.auth-link:hover {
    color: #4361ee;
    text-decoration: underline;
}

.btn-auth-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.btn-auth-submit:active {
    transform: translateY(1px);
}

.auth-footer-text {
    margin-top: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Background blob decorations for premium look */
.auth-bg-decor {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.auth-decor-1 {
    top: 10%;
    left: 10%;
    background: #4361ee;
}

.auth-decor-2 {
    bottom: 10%;
    right: 10%;
    background: #e91e63;
}

@media (max-width: 480px) {
    body.auth-body {
        padding: 12px;
        align-items: center;
        padding-top: 20px;
    }
    .auth-container {
        max-width: 100%;
    }
    .auth-card {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .auth-header h2 {
        font-size: 1.4rem;
    }
    .auth-header p {
        margin-bottom: 24px;
        font-size: 0.85rem;
    }
    .auth-flex-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }
}
