/* Authentication Pages Styles */
.auth-container {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
    background-color: var(--white);
}

.auth-card {
    flex: 1;
    max-width: 500px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-image {
    flex: 1;
    position: relative;
    display: none;
    background-color: var(--background-dark);
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.auth-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.auth-image-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.auth-image-overlay p {
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.6;
}

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

.auth-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.auth-header p {
    color: var(--text-light);
}

.auth-form {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.auth-divider span {
    position: relative;
    background-color: var(--white);
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social i {
    font-size: 1.2rem;
}

.auth-footer {
    text-align: center;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 5px;
}

.strength-meter-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-meter-fill[data-strength="0"] {
    width: 20%;
    background-color: #f44336;
}

.strength-meter-fill[data-strength="1"] {
    width: 40%;
    background-color: #ff9800;
}

.strength-meter-fill[data-strength="2"] {
    width: 60%;
    background-color: #ffeb3b;
}

.strength-meter-fill[data-strength="3"] {
    width: 80%;
    background-color: #4caf50;
}

.strength-meter-fill[data-strength="4"] {
    width: 100%;
    background-color: #2e7d32;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.strength-text span {
    font-weight: 500;
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
}

.terms-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.terms-checkbox label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Form Validation */
.input-with-icon input.error {
    border-color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Success Message */
.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message i {
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .auth-image {
        display: block;
    }
}

@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .auth-header h1 {
        font-size: 1.8rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .auth-container {
        padding-top: 80px;
        padding-bottom: 0;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeIn 0.5s ease-out;
}