/* ============================================
   AUTH PAGES (Login/Register)
   ============================================ */

.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f0eb 0%, #fff 100%);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    max-width: 800px;
    width: 100%;
    align-items: start;
}

.auth-box {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.register-box {
    padding: 40px;
}

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

.auth-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #2C1810;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
}

.auth-errors {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.auth-errors p {
    color: #c62828;
    font-size: 14px;
    margin: 5px 0;
}

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

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: #B8860B;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-icon input {
    padding-left: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: #666;
}

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

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #B8860B;
}

.forgot-link {
    font-size: 14px;
    color: #B8860B;
}

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

.btn-block {
    width: 100%;
    padding: 14px 24px;
}

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

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #eee;
}

.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.auth-footer {
    text-align: center;
}

.auth-footer p {
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #B8860B;
    font-weight: 500;
}

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

.auth-features {
    background: #2C1810;
    padding: 35px;
    border-radius: 12px;
    color: #fff;
}

.auth-features h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: #DAA520;
}

.auth-features ul {
    list-style: none;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.auth-features li:last-child {
    border-bottom: none;
}

.auth-features li i {
    color: #DAA520;
    font-size: 18px;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .auth-box {
        padding: 30px 20px;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .auth-features {
        order: -1;
    }
}
