:root {
    --primary-dark: #0a0a0a;
    --accent-warm: #ff5722;
    --accent-warm-light: #ff8a50;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-light: #888888;
    --border-subtle: #e0e0e0;
    --bg-subtle: #f5f5f5;
    --success: #059669;
}

.woo-withdrawal-form-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'DM Sans', sans-serif;
}

.woo-withdrawal-form-wrapper * {
    box-sizing: border-box;
}

.woo-withdrawal-container {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.woo-withdrawal-container h1 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--primary-dark);
}

.woo-withdrawal-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.woo-withdrawal-form {
    display: flex;
    flex-direction: column;
}

.woo-withdrawal-field-group {
    margin-bottom: 1rem;
}

.woo-withdrawal-field-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.woo-withdrawal-field-group .required {
    color: var(--accent-warm);
    font-weight: 700;
}

.woo-withdrawal-input,
.woo-withdrawal-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woo-withdrawal-input:focus,
.woo-withdrawal-textarea:focus {
    outline: none;
    border-color: var(--accent-warm);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.woo-withdrawal-textarea {
    resize: vertical;
    min-height: 100px;
}

.woo-withdrawal-error {
    display: block;
    color: var(--accent-warm);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.woo-withdrawal-info {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.05) 0%, rgba(255, 87, 34, 0.02) 100%);
    border: 1px solid var(--border-subtle);
    border-left: 5px solid var(--accent-warm);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.woo-withdrawal-gdpr-notice {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.woo-withdrawal-gdpr-notice a {
    color: var(--accent-warm);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woo-withdrawal-gdpr-notice a:hover {
    text-decoration: underline;
}

.woo-withdrawal-submit-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woo-withdrawal-submit {
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-warm-light) 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woo-withdrawal-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 87, 34, 0.35);
}

.woo-withdrawal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.woo-withdrawal-spinner {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.woo-withdrawal-spinner .spinner {
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 87, 34, 0.1);
    border-top-color: var(--accent-warm);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.woo-withdrawal-message {
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-subtle);
}

.woo-withdrawal-message.success {
    background: #f0fdf4;
    color: var(--success);
    border-color: var(--success);
}

.woo-withdrawal-message.error {
    background: #fef2f2;
    color: var(--accent-warm);
    border-color: var(--accent-warm);
}

/* Responsive */
@media (max-width: 768px) {
    .woo-withdrawal-container {
        padding: 1.5rem;
    }

    .woo-withdrawal-container h1 {
        font-size: 1.5rem;
    }

    .woo-withdrawal-submit {
        width: 100%;
    }

    .woo-withdrawal-submit-container {
        flex-direction: column;
    }

    .woo-withdrawal-spinner {
        width: 100%;
        justify-content: center;
    }
}
