/* Website forms (replaces the old third-party form styling) */
.site-form { display: block; width: 100%; text-align: left; }
.site-form .sf-row { margin: 0 0 10px; }
.site-form label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.site-form input[type="text"],
.site-form input[type="email"],
.site-form input[type="tel"],
.site-form input[type="date"],
.site-form select,
.site-form textarea {
    display: block; width: 100%; box-sizing: border-box;
    padding: 10px 12px; border: 1px solid #c9d1da; border-radius: 4px;
    background: #fff; color: #222; font: inherit; font-size: 16px;
}
.site-form textarea { min-height: 110px; resize: vertical; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus {
    outline: 2px solid #0d3b66; outline-offset: 1px; border-color: #0d3b66;
}
.site-form .sf-note { font-size: 13px; line-height: 1.4; margin: 0 0 10px; opacity: 0.85; }
.site-form button[type="submit"] {
    display: inline-block; padding: 12px 28px; border: 0; border-radius: 4px;
    background: #0d3b66; color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.site-form button[type="submit"]:hover { background: #092947; }
.site-form button[disabled] { opacity: 0.7; cursor: default; }
/* Spam trap: hidden from people, bots fill it in */
.site-form .sf-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.site-form fieldset { border: 0; margin: 0 0 10px; padding: 0; }
.site-form legend { font-size: 14px; font-weight: 600; margin: 0 0 6px; padding: 0; }
.site-form .sf-check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0 0 6px; cursor: pointer; }
.site-form .sf-check input { flex: 0 0 auto; margin: 0; }
.site-form .sf-cols { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-form .sf-cols > .sf-row { flex: 1 1 240px; }
.site-form .sf-section { font-size: 18px; font-weight: 700; margin: 18px 0 10px; }
/* Full-page forms (referral, appointment request) */
.site-form.sf-page { max-width: 760px; margin: 30px auto; }
#refer-form-container .site-form.sf-page { margin: 0 auto; color: #fff; }
#refer-form-container .site-form button[type="submit"] { background: #fff; color: #0d3b66; }
#refer-form-container .site-form button[type="submit"]:hover { background: #e6edf4; }
