.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    padding-top: 86px;  
    box-sizing: border-box;
}

.auth-wrapper {
    width: 100%;
    max-width: 400px;
}

.auth-form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-input:valid {
    border-color: #28a745;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.auth-links {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.auth-links p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.auth-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.alert-container {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.password-field-wrapper {
            position: relative;
        }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
    font-size: 18px;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 2;
}

.password-toggle:hover {
    color: #4f46e5;
    transform: translateY(-50%) scale(1.1);
}

.password-toggle.active {
    color: #4f46e5;
}

.password-toggle::before {
    content: '\f070'; /* eye-slash icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: all 0.3s ease;
}

.password-toggle.show::before {
    content: '\f06e'; /* eye icon */
    animation: eyeBlink 0.3s ease;
}

@keyframes eyeBlink {
    0% { transform: scale(1); }
    50% { transform: scale(0.8); }
    100% { transform: scale(1); }
}

.form-input[type="password"],
.form-input[type="text"] {
    padding-right: 45px;
}


/* Responsive */
@media (max-width: 576px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-form-container {
        padding: 30px 25px;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
}