/* ===== AUTH PAGES STYLES ===== */

.auth-section {
    padding: 60px 0;
    min-height: calc(100vh - var(--header-height) - 300px);
    display: flex;
    align-items: center;
}

/* Auth Form */
.auth-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.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 40px 12px 40px;
    border: 1px solid var(--bg-dark);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.input-with-icon input.error {
    border-color: var(--danger);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

/* Form Options */
.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);
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Form Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 4px;
}

.form-check label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.form-check a {
    color: var(--primary-color);
}

.form-check a:hover {
    text-decoration: underline;
}

/* Button Block */
.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Auth Image */
.auth-image {
    flex: 1;
    position: relative;
    display: none;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
}

.auth-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .auth-image {
        display: block;
    }
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .auth-form-container {
        padding: 30px 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.auth-container {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.auth-form-container {
    flex: 1;
    padding: 40px;
}

.auth-form-container h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.auth-form-container > p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

/* Social Auth Buttons */
.social-auth {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: var(--border-radius);
    border: none;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn i {
    margin-right: 10px;
}

.social-btn.google {
    background-color: #DB4437;
}

.social-btn.facebook {
    background-color: #4267B2;
}

.social-btn:hover {
    opacity: 0.9;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--text-light);
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--bg-dark);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}