﻿/* Auth Styles */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.auth-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.auth-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

    .auth-form .form-group {
        display: flex;
        flex-direction: column;
    }

    .auth-form .form-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
    }

    .auth-form .input-group {
        position: relative;
        display: flex;
        align-items: center;
    }

    .auth-form .input-icon {
        position: absolute;
        right: 1rem;
        color: var(--text-light);
        z-index: 2;
    }

    .auth-form .form-control {
        width: 100%;
        padding: 0.75rem 3rem 0.75rem 1rem;
        border: 2px solid #e1e5e9;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: white;
    }

        .auth-form .form-control:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
            outline: none;
        }

    .auth-form .password-toggle {
        position: absolute;
        left: 1rem;
        background: none;
        border: none;
        color: var(--text-light);
        cursor: pointer;
        z-index: 2;
    }

    .auth-form .form-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: -0.5rem 0;
    }

    .auth-form .form-check {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .auth-form .form-check-input {
        width: 1.1em;
        height: 1.1em;
        margin: 0;
    }

    .auth-form .form-check-label {
        font-size: 0.9rem;
        color: var(--text-light);
    }

    .auth-form .forgot-password {
        font-size: 0.9rem;
        color: var(--secondary-color);
        text-decoration: none;
    }

        .auth-form .forgot-password:hover {
            text-decoration: underline;
        }

.auth-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
}

    .primary-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
    }

.auth-divider {
    text-align: center;
    position: relative;
    margin: 1rem 0;
}

    .auth-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 0;
        left: 0;
        height: 1px;
        background: #e1e5e9;
    }

    .auth-divider span {
        background: white;
        padding: 0 1rem;
        color: var(--text-light);
        font-size: 0.9rem;
    }

.social-btn {
    background: white;
    border: 2px solid #e1e5e9;
    color: var(--primary-color);
}

    .social-btn:hover {
        border-color: var(--secondary-color);
        transform: translateY(-2px);
    }

.google-btn {
    color: #db4437;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

    .auth-footer p {
        color: var(--text-light);
        margin: 0;
    }

.auth-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-image {
    position: relative;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

    .auth-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
    }

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 42, 42, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

    .image-overlay h3 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }

    .image-overlay p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

/* Register Specific Styles */
.features-list {
    margin-top: 2rem;
    text-align: right;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

    .feature-item i {
        color: var(--accent-color);
        font-size: 1.2rem;
    }

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-hint {
    color: var(--text-light);
    font-size: 0.8rem;
}

.terms-check {
    margin: -0.5rem 0;
}

.terms-link {
    color: var(--secondary-color);
    text-decoration: none;
}

    .terms-link:hover {
        text-decoration: underline;
    }

/* Validation Styles */
.validation-summary {
    background: #fee;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    color: #721c24;
}

.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-image {
        display: none;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-form .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
