:root {
    /* Color Variables for User Signup Block */
    --sb-primary-color: #7ec1ff;
    --sb-primary-hover: #60b0ff;
    --sb-primary-active: #2563eb;
    --sb-primary-active-hover: #1d4ed8;
    
    --sb-text-primary: #1a1a1a;
    --sb-text-secondary: #666666;
    --sb-text-muted: #444444;
    
    --sb-border-light: #e0e0e0;
    --sb-border-medium: #d1d5db;
    --sb-border-hover: #9ca3af;
    
    --sb-background-white: #ffffff;
    --sb-background-light: #f8f9fa;
    --sb-background-hover: #f9fafb;
    
    --sb-google-bg: #ffffff;
    --sb-google-text: #374151;
    --sb-google-border: #d1d5db;
    --sb-google-hover-bg: #f9fafb;
    --sb-google-hover-border: #9ca3af;
    
    --sb-apple-bg: #000000;
    --sb-apple-text: #ffffff;
    --sb-apple-hover-bg: #1f2937;
    
    --sb-divider-color: #e0e0e0;
}

.wp-block-user-signup {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
}

.signup-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--sb-background-white);
    border-radius: 16px;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.signup-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    color: var(--sb-text-primary);
    margin: 0 0 12px;
}

.signup-subtitle {
    text-align: center;
    color: var(--sb-text-secondary);
    font-size: 15px;
    margin-bottom: 32px;
}

/* Social Login Styles */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--sb-border-medium);
}

.google-btn {
    background: var(--sb-google-bg);
    color: var(--sb-google-text);
    border-color: var(--sb-google-border);
}

.google-btn:hover {
    background: var(--sb-google-hover-bg);
    color: var(--sb-google-text);
}

.apple-btn {
    background: var(--sb-apple-bg);
    color: var(--sb-apple-text);
    border-color: var(--sb-apple-bg);
}

.apple-btn:hover {
    background: var(--sb-apple-hover-bg);
    border-color: var(--sb-apple-hover-bg);
}

.google-icon,
.apple-icon {
    flex-shrink: 0;
}

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

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sb-divider-color);
}

.divider-text {
    background: var(--sb-background-white);
    padding: 0 16px;
    color: var(--sb-text-secondary);
    font-size: 14px;
    position: relative;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--sb-background-light);
    border: 1px solid var(--sb-border-light);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--sb-primary-color);
    background: var(--sb-background-white);
    outline: none;
    box-shadow: 0 0 0 2px rgba(126, 193, 255, 0.1);
}

.input-hint {
    display: block;
    color: var(--sb-text-secondary);
    font-size: 13px;
    margin-top: 4px;
    margin-left: 4px;
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    color: var(--sb-text-secondary);
    cursor: pointer;
}

.toggle-password:hover {
    color: var(--sb-text-secondary);
    background-color: transparent;
    transform: translateY(-50%);
    box-shadow: none !important;
}

.terms-group {
    margin: 8px 0;
}

.terms-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--sb-text-muted);
}

.terms-link {
    color: var(--sb-primary-color);
    text-decoration: none;
}

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

/* reCAPTCHA v3 is invisible, no styles needed */

.submit-button {
    width: 100%;
    padding: 14px;
    background: var(--sb-primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-button:hover {
    background: var(--sb-primary-hover);
}

.submit-button.active {
    background: var(--sb-primary-active);
}

.submit-button.active:hover {
    background: var(--sb-primary-active-hover);
}

.signup-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    color: var(--sb-text-secondary);
    font-size: 14px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-item svg{
    width: 16px;
    height: 16px;
}

/* Responsive ajustments */
@media (max-width: 480px) {
    .signup-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .signup-title {
        font-size: 24px;
    }
}
