.wffb-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.wffb-field {
    margin-bottom: 20px;
}

.wffb-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.wffb-required {
    color: #d63638;
}

.wffb-field input[type="text"],
.wffb-field input[type="email"],
.wffb-field input[type="tel"],
.wffb-field input[type="number"],
.wffb-field textarea,
.wffb-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.wffb-field input:focus,
.wffb-field textarea:focus,
.wffb-field select:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.wffb-field textarea {
    min-height: 100px;
    resize: vertical;
}

.wffb-checkbox-label,
.wffb-radio-label {
    display: block;
    font-weight: 400;
    margin-bottom: 4px;
}

.wffb-checkbox-label input,
.wffb-radio-label input {
    margin-right: 6px;
}

.wffb-submit-wrap {
    margin-top: 24px;
}

.wffb-submit-btn {
    background: #25D366;
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.wffb-submit-btn:hover {
    background: #1da851;
}

.wffb-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.wffb-submit-btn.wffb-loading {
    position: relative;
    padding-right: 48px;
}

.wffb-submit-btn.wffb-loading::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wffb-spin 0.6s linear infinite;
}

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

.wffb-response {
    margin-top: 16px;
}

.wffb-error-msg {
    background: #fcf0f1;
    color: #d63638;
    padding: 10px 14px;
    border-left: 4px solid #d63638;
    border-radius: 2px;
    white-space: pre-line;
}

/* Modal */
.wffb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wffb-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    overflow: hidden;
}

.wffb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.wffb-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.wffb-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #787c82;
    padding: 0;
    line-height: 1;
}

.wffb-modal-close:hover {
    color: #d63638;
}

.wffb-modal-body {
    padding: 24px 20px;
    text-align: center;
}

.wffb-modal-body p {
    margin: 0 0 16px;
    font-size: 14px;
    color: #50575e;
}

.wffb-whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}

.wffb-whatsapp-btn:hover {
    background: #1da851;
    color: #fff;
}
