/*
 * "Contact the Editor" — English health-guide articles only.
 * Loaded from app/modules/Theme/Views/saglik-rehberi/single.volt (current_lang == "en"),
 * so it never reaches Turkish pages. Colours follow the theme's .btn-theme-one (#c99d66).
 * Origin Studio — Sep 2026.
 */

/* Sidebar button, under the WhatsApp box. The column is ~160–200px wide, so the label may wrap. */
.ec-open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 10px 14px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
}
.ec-open i { font-size: 16px; }

#editorContactModal .modal-content {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 17, 22, .18);
    font-family: 'Poppins', sans-serif;
}
#editorContactModal .modal-header {
    align-items: flex-start;
    border: 0;
    padding: 28px 28px 0;
}
#editorContactModal .ec-eyebrow {
    margin-bottom: 4px;
    color: #c99d66;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
#editorContactModal .modal-title {
    margin: 0;
    color: #212026;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}
#editorContactModal .modal-body { padding: 16px 28px 28px; }
#editorContactModal .ec-lead {
    margin-bottom: 14px;
    color: #5d5c63;
    font-size: 14px;
    line-height: 1.6;
}
#editorContactModal .ec-regarding {
    margin-bottom: 18px;
    padding: 10px 12px;
    border-left: 3px solid #c99d66;
    border-radius: 8px;
    background: #f7f2eb;
    color: #3a3940;
    font-size: 13px;
    line-height: 1.5;
}
#editorContactModal .form-label {
    margin-bottom: 4px;
    color: #212026;
    font-size: 13px;
    font-weight: 500;
}
#editorContactModal .form-control {
    padding: 10px 12px;
    border-color: #e2e0e4;
    border-radius: 10px;
    font-size: 14px;
}
#editorContactModal .form-control:focus {
    border-color: #c99d66;
    box-shadow: 0 0 0 3px rgba(201, 157, 102, .2);
}
#editorContactModal .invalid-feedback { font-size: 12px; }
/* Errors only: Bootstrap would also paint valid fields green, even the empty optional phone.
   The ID selector above out-ranks Bootstrap's red border, so both states are set here. */
#editorContactModal .was-validated .form-control:valid {
    padding-right: 12px;
    border-color: #e2e0e4;
    background-image: none;
}
#editorContactModal .was-validated .form-control:valid:focus { border-color: #c99d66; }
#editorContactModal .was-validated .form-control:invalid { border-color: #dc3545; }
#editorContactModal .was-validated .form-control:invalid:focus { box-shadow: 0 0 0 3px rgba(220, 53, 69, .18); }
#editorContactModal .ec-note {
    margin: 12px 0 0;
    color: #8a8990;
    font-size: 12px;
    text-align: center;
}
#editorContactModal .ec-submit {
    width: 100%;
    padding: 12px;
    font-size: 15px;
}
#editorContactModal .ec-submit:disabled { opacity: .7; }
#editorContactModal .ec-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}
/* Honeypot: off-screen for people, still in the DOM for bots. */
#editorContactModal .ec-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
#editorContactModal .ec-success {
    padding: 12px 4px 4px;
    text-align: center;
}
#editorContactModal .ec-success i {
    color: #c99d66;
    font-size: 46px;
}
#editorContactModal .ec-success-title {
    margin: 14px 0 6px;
    color: #212026;
    font-size: 20px;
    font-weight: 600;
}
#editorContactModal .ec-success p { color: #5d5c63; font-size: 14px; }

@media (max-width: 575.98px) {
    #editorContactModal .modal-content { border-radius: 0; }
    #editorContactModal .modal-header { padding: 22px 20px 0; }
    #editorContactModal .modal-body { padding: 14px 20px 24px; }
}
