/**
 * StarzMeet — listing submit error panel (inc/listing-form-errors.php).
 * Shown next to the save button when the server rejects a listing.
 */
.szm-form-errors {
    margin: 0 0 20px;
    padding: 18px 20px;
    background: #fff5f5;
    border: 1px solid #f3c9c9;
    border-left: 4px solid #c0392b;
    border-radius: 12px;
    outline: none;
}
.szm-form-errors h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #a3271b;
    line-height: 1.3;
}
.szm-form-errors-msg {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
    color: #5c3230;
}
.szm-form-errors-lead {
    margin: 0 0 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #5c3230;
}
.szm-form-errors ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
}
.szm-form-errors li { margin: 3px 0; }
.szm-form-errors li a {
    color: #a3271b;
    font-weight: 600;
    text-decoration: underline;
}
.szm-form-errors li a:hover { color: #c0392b; }

/* The field itself, so it's unmistakable once you've scrolled to it. */
.szm-field-error,
.szm-field-error input,
.szm-field-error textarea {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12) !important;
}
.szm-field-error.wp-editor-container { border: 1px solid #c0392b !important; }

@media (max-width: 600px) {
    .szm-form-errors { padding: 15px 16px; border-radius: 10px; }
}

/* The reason, right where we scrolled them to. */
.szm-field-note {
    margin: -6px 0 14px;
    padding: 9px 12px;
    background: #fff5f5;
    border: 1px solid #f3c9c9;
    border-left: 3px solid #c0392b;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #8a2a1e;
}
