.frontend-form-widget .ff-field {
    margin-bottom: 1rem;
}
.frontend-form-widget label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}
.frontend-form-widget .ff-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.frontend-form-widget .ff-checkbox-input {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    cursor: pointer;
}
.frontend-form-widget .ff-checkbox-label {
    display: inline;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
    cursor: pointer;
}
.frontend-form-widget .ff-checkbox-label a {
    color: #e30613;
    text-decoration: underline;
}
.frontend-form-widget .form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.frontend-form-widget textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.frontend-form-widget .ff-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.frontend-form-widget .ff-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
.frontend-form-widget .ff-alert {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.frontend-form-widget .ff-alert-success {
    background: #d4edda;
    color: #155724;
}
.frontend-form-widget .ff-alert-danger {
    background: #f8d7da;
    color: #721c24;
}
.frontend-form-widget .ff-submit {
    margin-top: 0.5rem;
}
.ff-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10050;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.ff-modal-overlay.ff-open {
    display: flex;
}
.ff-modal-panel {
    background: #fff;
    border-radius: 8px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.ff-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
}
.ff-modal-header h5 {
    margin: 0;
    font-size: 1.25rem;
}
.ff-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 0.25rem;
}
.ff-modal-body {
    padding: 1.25rem;
    max-height: 70vh;
    overflow-y: auto;
}
.ff-modal-body .btn-primary {
    background: #e30613;
    border: none;
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}
.ff-modal-body .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
