.auth-header {
    position: relative;
    padding: 60px 20px 80px;
    background:
        radial-gradient(circle at 20% 30%, rgba(21, 93, 252, 0.45) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(74, 144, 255, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 50% 70%, rgba(21, 93, 252, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(135, 180, 255, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(21, 93, 252, 0.2) 0%, transparent 40%),
        #ffffff;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.1) 0,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px,
            transparent 20px),
        repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, 0.1) 0,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 1px,
            transparent 20px);
    background-size: 40px 40px;
    opacity: 0.15;
}

.auth-logo {
    position: relative;
    z-index: 5;
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo img {
    width: 90px;
    height: 95px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.auth-card {
    position: relative;
    background: white;
    border-radius: 32px 32px 0 0;
    padding: 40px 24px;
    margin-top: -30px;
    min-height: 71vh;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
}

.welcome-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.welcome-subtitle {
    font-size: 14px;
    margin-bottom: 32px;
    text-align: center;
    color: #666;
}

.modern-input-wrapper {
    margin-bottom: 20px;
    position: relative;
}

.modern-input-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.modern-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.modern-input:focus {
    outline: none;
    border-color: #1447E6;
    background: white;
    box-shadow: 0 0 0 4px rgba(20, 71, 230, 0.1);
}

.modern-input.is-invalid {
    border-color: #f44336;
    background: #ffebee;
}

.modern-input::placeholder {
    color: #bbb;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #1447E6;
}

.error-message {
    font-size: 12px;
    color: #f44336;
    margin-top: 6px;
    display: none;
}

.error-message.show {
    display: block;
}

.remember-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.modern-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #1447E6;
}

.remember-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.auth-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1447E6 0%, #0d2f9e 100%);
    color: white !important;
    text-align: center;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(20, 71, 230, 0.3);
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 71, 230, 0.4);
    background: linear-gradient(135deg, #0d2f9e 0%, #1447E6 100%);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-link {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 24px;
}

.auth-link a {
    color: #1447E6;
    font-weight: 600;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

@media (max-width: 375px) {
    .auth-header {
        padding: 50px 16px 70px;
    }

    .auth-card {
        padding: 32px 20px;
    }

    .welcome-title {
        font-size: 22px;
    }

    .modern-input {
        padding: 14px 16px;
    }
}