/* Auth Popup Styles — Mobile-First */
.auth-popup-content {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.2s ease;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab.active {
    border-bottom-color: #f26722;
    color: #333;
    background: rgba(242, 103, 34, 0.05);
}

.auth-tab:hover:not(.active) {
    color: #333;
    background: #f5f5f5;
}

.auth-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-tab-content.active {
    display: block;
}

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

.auth-popup-form label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
}

.auth-popup-form label i {
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.auth-popup-form input[type="text"],
.auth-popup-form input[type="email"],
.auth-popup-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9f9f9;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-popup-form input:focus {
    border-color: #f26722;
    box-shadow: 0 0 0 3px rgba(242, 103, 34, 0.15);
    outline: none;
    background: #fff;
}

.password-input-container {
    position: relative;
}

.password-input-container input {
    padding-right: 44px;
}

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

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

.password-hint {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 0.8rem;
    line-height: 1.4;
}

.password-hint i {
    margin-right: 4px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f26722;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.auth-button {
    width: 100%;
    padding: 14px;
    background: #f26722;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(242, 103, 34, 0.2);
}

.auth-button:hover {
    background: #e05b17;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(242, 103, 34, 0.25);
}

.auth-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.social-divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 0.85rem;
    position: relative;
}

.social-divider::before,
.social-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e0e0e0;
}

.social-divider::before { left: 0; }
.social-divider::after { right: 0; }

.auth-popup-content .social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.auth-popup-content .social-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.auth-popup-content .social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #4285f4;
}

.auth-popup-content .social-button.google i {
    color: #4285f4;
    font-size: 1.1rem;
}

.recaptcha-container {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
