/* ============================================================
   Miracle Health — shared Appointment form
   Drop-in styling for  <form class="mh-appt-form" id="bookappointmentnow">
   Scoped so it cannot leak into the rest of the page.
   Also ships a compact bootstrap-datepicker skin so pages that
   do NOT load css/bootstrap-datepicker.css still look right.
   ============================================================ */

.mh-appt-form,
.mh-appt-form * { box-sizing: border-box; font-family: "Inter", "Open Sans", Arial, sans-serif; }

.mh-appt-form { width: 100%; }

.mh-appt-form .mh-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.mh-appt-form .mh-row + .mh-row { margin-top: 12px; }
.mh-appt-form .mh-col-full { grid-column: 1 / -1; }

.mh-appt-form .mh-field,
.mh-appt-form select.mh-field,
.mh-appt-form textarea.mh-field {
    width: 100%;
    height: 46px;
    border: 1.5px solid #dfe3e8;
    border-radius: 9px;
    padding: 10px 13px;
    font-size: 14px;
    line-height: 1.3;
    color: #1f2937;
    background-color: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.mh-appt-form textarea.mh-field {
    height: 84px;
    resize: none;
    padding-top: 11px;
}
.mh-appt-form .mh-field::placeholder { color: #9aa3af; }

.mh-appt-form .mh-field:focus {
    border-color: #1A6FD4;
    box-shadow: 0 0 0 3px rgba(26,111,212,.15);
}

/* caret for selects */
.mh-appt-form select.mh-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23667085' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    padding-right: 34px;
    cursor: pointer;
}
.mh-appt-form select.mh-field:required:invalid { color: #9aa3af; }
.mh-appt-form select.mh-field option { color: #1f2937; }

.mh-appt-form .mh-submit {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    background: #1A6FD4;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    transition: background .18s ease, transform .12s ease;
}
.mh-appt-form .mh-submit:hover { background: #1458AB; transform: translateY(-1px); }
.mh-appt-form .mh-submit:active { transform: translateY(0); }

.mh-appt-form .mh-reassure {
    text-align: center;
    font-size: 11.5px;
    color: #9aa3af;
    margin: 10px 0 0;
    line-height: 1.5;
}
.mh-appt-form .mh-reassure b { color: #1A6FD4; font-weight: 600; }

@media (max-width: 560px) {
    .mh-appt-form .mh-row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Compact bootstrap-datepicker v1 skin (namespaced to .datepicker)
   ------------------------------------------------------------ */
.datepicker {
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16,24,40,.16);
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    z-index: 9999 !important;
}
.datepicker table { width: 100%; margin: 0; }
.datepicker table tr td,
.datepicker table tr th {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    border: none;
}
.datepicker table tr th.datepicker-switch { font-weight: 700; color: #1f2937; }
.datepicker table tr th.prev,
.datepicker table tr th.next { color: #1A6FD4; font-size: 16px; }
.datepicker table tr th.dow { color: #9aa3af; font-weight: 600; }
.datepicker table tr td.day { color: #1f2937; cursor: pointer; }
.datepicker table tr td.day:hover { background: #eef4fd; }
.datepicker table tr td.old,
.datepicker table tr td.new { color: #c4cad3; }
.datepicker table tr td.today { background: #fff4e5; color: #b45309; }
.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.active {
    background: #1A6FD4;
    color: #fff;
    text-shadow: none;
}
.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover { color: #dfe3e8; cursor: not-allowed; background: transparent; }
.datepicker table tr td span {
    border-radius: 8px;
    height: 40px;
    line-height: 40px;
}
.datepicker table tr td span:hover { background: #eef4fd; }
.datepicker table tr td span.active { background: #1A6FD4; color: #fff; text-shadow: none; }
