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

.jf-form .jf-field {
    margin-bottom: 1.25rem;
}

.jf-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.jf-form input[type="text"],
.jf-form input[type="email"],
.jf-form textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.jf-form input[type="text"]:focus,
.jf-form input[type="email"]:focus,
.jf-form textarea:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 1px #007cba;
}

.jf-form textarea {
    resize: vertical;
    min-height: 100px;
}

.jf-field-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}

.jf-field-checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.jf-field-checkbox a {
    color: #007cba;
    text-decoration: underline;
}

.jf-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.jf-submit {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #007cba;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.jf-submit:hover {
    background: #005a87;
}

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

.jf-response {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.jf-response.jf-success,
.jf-response.jf-error {
    display: block;
}

.jf-response.jf-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.jf-response.jf-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Block preview in editor */
.jf-block-wrap {
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #f0f0f1;
    padding: 0;
    overflow: hidden;
}

.jf-block-preview {
    padding: 1.5rem;
    text-align: center;
}

.jf-block-preview-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.jf-block-preview h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.jf-block-preview .jf-block-fields {
    margin: 0 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.jf-block-btn-preview {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #007cba;
    border-radius: 4px;
}

/* Inline settings (shown when block is selected) */
.jf-block-settings {
    border-top: 1px solid #dcdcde;
    background: #fff;
    padding: 1rem 1.5rem 1.5rem;
}

.jf-block-settings-title {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #1e1e1e;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f1;
}
