/* Auth Pages */
.auth-body {
    font-family: ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #FDFDFC;
    padding: 16px;
}

.auth-card {
    background: #fff;
    border: 1px solid #e3e3e0;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
}

.auth-card.register {
    max-width: 440px;
}

.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: #F26A21;
    color: #fff;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.auth-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff55;
    overflow: hidden;
}

.auth-left h2 {
    font-size: 22px;
    margin: 0;
}

.auth-left p {
    opacity: .95;
    text-align: center;
    max-width: 280px;
}

.auth-right {
    padding: 32px;
}

.auth-box {
    border: 1px solid #ececea;
    background: #fbfbfa;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-input {
    width: 100%;
    border: 1px solid #e9e9e7;
    background: #f6f6f5;
    border-radius: 10px;
    padding: .75rem 1rem;
    padding-left: 2.5rem;
}

.auth-field {
    position: relative;
}

.auth-field .auth-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .6;
}

.auth-btn {
    display: inline-block;
    width: 100%;
    padding: .5rem .75rem;
    background: #1b1b18;
    color: #fff;
    border: 1px solid #1b1b18;
    border-radius: 4px;
}

.auth-btn.primary {
    background: #F26A21;
    border-color: #F26A21;
    border-radius: 24px;
    padding: .75rem 1rem;
    font-weight: 600;
}

.auth-btn.register {
    padding: .75rem 1rem;
    background: #F26A21;
    color: #fff;
    border: 1px solid #F26A21;
    border-radius: 24px;
    font-weight: 600;
}

.auth-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .85rem;
    color: #666;
}

.auth-title {
    text-align: center;
    color: #1b1b18;
}

.auth-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 16px;
}

.auth-link {
    color: #F26A21;
}

.login-required-body {
    font-family: ui-sans-serif, system-ui, sans-serif;
    color: #333;
    background: #f7f6f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-required-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: #9a7662;
    color: #fff;
    z-index: 10;
}

.login-required-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-required-brand img {
    height: 60px;
}

.login-required-menu a {
    margin: 0 14px;
    color: #fff;
    text-decoration: none;
}

.login-required-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.login-required-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.login-required-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333;
}

.login-required-subtitle {
    color: #666;
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.5;
}

.login-required-btn {
    display: inline-block;
    background: #F26A21;
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    margin: 8px;
}

.login-required-btn:hover {
    background: #e55a1a;
}

.login-required-btn.secondary {
    background: #666;
    color: #fff;
}

.login-required-btn.secondary:hover {
    background: #555;
}

.login-required-link {
    color: #F26A21;
}

.auth-logo img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-required-subtitle {
    font-size: 12px;
    opacity: .8;
}

.login-required-login-btn {
    background: #F26A21;
    padding: 8px 16px;
    border-radius: 6px;
    margin-left: 8px;
}

.login-required-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #999;
}

.auth-error {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #dc2626;
}

.auth-label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.auth-link-text {
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Responsive Design */
/* Tablet styles */
@media (max-width: 1024px) {
    .auth-card {
        max-width: 800px;
    }
    
    .auth-split {
        gap: 24px;
    }
    
    .auth-image {
        padding: 40px;
    }
    
    .auth-form {
        padding: 40px;
    }
    
    .auth-title {
        font-size: 1.8rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .auth-body {
        padding: 12px;
    }
    
    .auth-card {
        max-width: 100%;
    }
    
    .auth-split {
        grid-template-columns: 1fr;
    }
    
    .auth-image {
        display: none;
    }
    
    .auth-form {
        padding: 32px 24px;
    }
    
    .auth-title {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }
    
    .auth-subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    
    .auth-tabs {
        padding: 8px;
        margin-bottom: 24px;
    }
    
    .auth-tab {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .auth-input {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .auth-button {
        padding: 14px;
        font-size: 16px;
    }
    
    .auth-form-group {
        margin-bottom: 20px;
    }
    
    .auth-label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .auth-remember {
        font-size: 0.8rem;
    }
    
    .auth-link-text {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .auth-body {
        padding: 8px;
    }
    
    .auth-form {
        padding: 24px 20px;
    }
    
    .auth-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .auth-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .auth-tabs {
        padding: 6px;
        margin-bottom: 20px;
    }
    
    .auth-tab {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .auth-input {
        padding: 10px;
        font-size: 14px;
    }
    
    .auth-button {
        padding: 12px;
        font-size: 14px;
    }
    
    .auth-form-group {
        margin-bottom: 16px;
    }
    
    .auth-label {
        font-size: 0.75rem;
    }
    
    .auth-remember {
        font-size: 0.75rem;
    }
    
    .auth-link-text {
        font-size: 0.75rem;
    }
    
    .auth-error {
        font-size: 0.8rem;
    }
}
