.esf-wrapper {
    max-width: 600px;
    font-family: inherit;
}

.esf-field {
    margin-bottom: 18px;
}

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

.esf-wrapper .esf-field input[type="text"],
.esf-wrapper .esf-field input[type="email"],
.esf-wrapper .esf-field input[type="tel"],
.esf-wrapper .esf-field input[type="number"],
.esf-wrapper .esf-field select {
    width: 100%;
    padding: 9px 18px;
    border: 1px solid #ccc;
    border-radius: 20px !important;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.esf-wrapper .esf-field textarea {
    width: 100%;
    padding: 9px 16px;
    border: 1px solid #ccc;
    border-radius: 16px !important;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    min-height: 110px;
    resize: vertical;
}

.esf-wrapper .esf-field input:focus,
.esf-wrapper .esf-field textarea:focus,
.esf-wrapper .esf-field select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,.15);
}

.esf-required {
    color: #c00;
    margin-left: 2px;
}

.esf-checkboxes,
.esf-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.esf-check,
.esf-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    cursor: pointer;
}

.esf-submit {
    display: inline-block;
    padding: 10px 28px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 20px !important;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}

.esf-submit:hover    { background: #005f8e; }
.esf-submit:disabled { opacity: .6; cursor: not-allowed; }

.esf-success {
    padding: 14px 18px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom: 16px;
}

.esf-error-msg {
    padding: 12px 18px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 14px;
}

.esf-error {
    color: #c00;
    font-style: italic;
}
