/* Reset chỉ trong scope */
.btfw-form-calendar *,
.btfw-form-calendar *::before,
.btfw-form-calendar *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── WRAPPER ── */
.btfw-form-calendar {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    background: #fff;
    position: relative;
}

/* ── PAGE ── */
.btfw-form-calendar .btfw-page {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
}

/* ── BANNER ── */
.btfw-form-calendar .btfw-banner-wrap {
    position: relative;
    z-index: 2;
    margin-bottom: -2px;
    display: flex;
    justify-content: center;
}

.btfw-form-calendar .btfw-banner {
    position: relative;
    background: linear-gradient(180deg, #2196f3 0%, #1565c0 100%);
    border-radius: 10px 10px 0 0;
    padding: 10px 28px 10px 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 88%;
    box-shadow: 0 4px 20px rgba(21, 101, 192, .45);
    clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%);
    justify-content: center;
}

.popmake .btfw-banner {
    margin: -50px 0 0 0;
    position: relative;
    z-index: 99999 !important;
}

.btfw-form-calendar .btfw-banner::before,
.btfw-form-calendar .btfw-banner::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 14px;
    height: 10px;
    background: #0d47a1;
}

.btfw-form-calendar .btfw-banner::before {
    left: -2px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.btfw-form-calendar .btfw-banner::after {
    right: -2px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.btfw-form-calendar .btfw-ecg-line {
    flex-shrink: 0;
}

.btfw-form-calendar .btfw-banner-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

.btfw-form-calendar .btfw-banner-title .btfw-dat {
    color: #ff9800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.btfw-form-calendar .btfw-banner-title .btfw-lich,
.btfw-form-calendar .btfw-banner-title .btfw-ngay {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.btfw-form-calendar .btfw-cal-icon {
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    flex-shrink: 0;
}

.btfw-form-calendar .btfw-cal-icon svg {
    width: 30px;
    height: 30px;
}

/* ── FORM CARD ── */
.btfw-form-calendar .btfw-form-card {
    background: #fff;
    backdrop-filter: blur(8px);
    padding: 30px 20px 10px 20px;
    border-radius: 20px;
}

/* ── FIELDS ── */
.btfw-form-calendar .btfw-field {
    margin-bottom: 18px;
}

.btfw-form-calendar .btfw-field:last-of-type {
    margin-bottom: 0;
}

.btfw-form-calendar .btfw-field-label {
    font-size: 15px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 7px;
    display: block;
}

.btfw-form-calendar .btfw-field-label b {
    color: #e53935;
}

.btfw-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

/* ── INPUTS ── */
.btfw-form-calendar input[type=text],
.btfw-form-calendar input[type=tel],
.btfw-form-calendar select {
    width: 100%;
    background: #fff;
    border: 1.5px solid #cce0f5;
    border-radius: 10px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 14px;
    color: #1a3a5c;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: unset !important;
    height: 40px;
}

.btfw-form-calendar textarea {
    width: 100%;
    background: #fff;
    border: 1.5px solid #cce0f5;
    border-radius: 10px;
    padding: 16px;
    font-size: 14px;
    color: #1a3a5c;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: unset !important;
}

.btfw-form-calendar input::placeholder,
.btfw-form-calendar textarea::placeholder {
    color: #a0bdd4;
    font-size: 13.5px;
}

.btfw-form-calendar input:focus,
.btfw-form-calendar select:focus,
.btfw-form-calendar textarea:focus {
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, .12);
}

.btfw-form-calendar select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232196f3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* ── INPUT WITH ICON ── */
.btfw-form-calendar .btfw-input-icon {
    position: relative;
}

.btfw-form-calendar .btfw-input-icon input {
    padding-right: 46px;
}

.btfw-form-calendar .btfw-input-icon .btfw-ico {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #2196f3;
    line-height: 1;
    cursor: pointer;
}

.btfw-form-calendar .btfw-input-icon .btfw-ico:hover {
    color: #1565c0;
}

/* ── DATEPICKER INPUT ── */
.btfw-form-calendar .btfw-datepicker-input {
    width: 100%;
    background: #fff;
    border: 1.5px solid #cce0f5;
    border-radius: 10px;
    padding: 13px 46px 13px 16px;
    font-size: 14px;
    color: #1a3a5c;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    cursor: pointer;
    caret-color: transparent;
}

.btfw-form-calendar .btfw-datepicker-input::placeholder {
    color: #a0bdd4;
    font-size: 13.5px;
}

.btfw-form-calendar .btfw-datepicker-input:focus {
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, .12);
}

/* ── TIME SELECTS ── */
.btfw-form-calendar .btfw-time-selects {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btfw-form-calendar .btfw-time-selects div {
    flex: 1;
}

.btfw-form-calendar .btfw-time-selects select {
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
    box-shadow: unset !important;
}

.btfw-form-calendar .btfw-time-sep {
    font-size: 20px;
    font-weight: 700;
    color: #1565c0;
    flex-shrink: 0;
}

/* ── DATE STACK ── */
.btfw-form-calendar .btfw-date-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── TEXTAREA ── */
.btfw-form-calendar textarea {
    resize: none;
    min-height: 110px;
    line-height: 1.6;
    padding: 16px !important;
}

/* ── SUBMIT BUTTON ── */
.btfw-form-calendar .btfw-btn-submit {
    margin: 20px 0 0 0 !important;
    width: 100%;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 124, 0, .45);
    transition: filter .2s, transform .1s, box-shadow .2s;
    padding: 0;
}

.btfw-form-calendar .btfw-btn-submit:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 124, 0, .5);
}

.btfw-form-calendar .btfw-btn-submit:active {
    transform: translateY(0);
}

/* ── VALIDATION ERRORS ── */
.btfw-form-calendar input.btfw-err,
.btfw-form-calendar select.btfw-err,
.btfw-form-calendar textarea.btfw-err,
.btfw-form-calendar .btfw-datepicker-input.btfw-err {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .12) !important;
}

/* ════════════════════════════════════════════
   JQUERY UI DATEPICKER — scoped via added class .btfw-datepicker-popup
   ════════════════════════════════════════════ */
.btfw-datepicker-popup.ui-datepicker {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(21, 101, 192, .22);
    padding: 14px;
    font-size: 13.5px;
    width: 290px;
    z-index: 9999 !important;
}

.btfw-datepicker-popup .ui-datepicker-header {
    background: linear-gradient(135deg, #2196f3, #1565c0);
    border: none;
    border-radius: 10px;
    padding: 10px 44px;
    margin-bottom: 10px;
    position: relative;
}

.btfw-datepicker-popup .ui-datepicker-title {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    letter-spacing: .3px;
    line-height: 28px;
}

.btfw-datepicker-popup .ui-datepicker-prev,
.btfw-datepicker-popup .ui-datepicker-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, .2);
    border-radius: 8px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    border: none;
}

.btfw-datepicker-popup .ui-datepicker-prev {
    left: 8px !important;
}

.btfw-datepicker-popup .ui-datepicker-next {
    right: 8px !important;
}

.btfw-datepicker-popup .ui-datepicker-prev:hover,
.btfw-datepicker-popup .ui-datepicker-next:hover {
    background: rgba(255, 255, 255, .35);
}

.btfw-datepicker-popup .ui-datepicker-prev span,
.btfw-datepicker-popup .ui-datepicker-next span {
    display: none;
}

.btfw-datepicker-popup .ui-datepicker-prev::after {
    content: '‹';
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.btfw-datepicker-popup .ui-datepicker-next::after {
    content: '›';
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.btfw-datepicker-popup table {
    width: 100%;
    border-collapse: collapse;
}

.btfw-datepicker-popup th {
    color: #90aec8;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.btfw-datepicker-popup td {
    padding: 2px;
}

.btfw-datepicker-popup td span,
.btfw-datepicker-popup td a {
    display: block;
    text-align: center;
    padding: 7px 4px;
    border-radius: 8px;
    font-size: 13px;
    color: #1a3a5c;
    text-decoration: none;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.btfw-datepicker-popup td a:hover {
    background: #e3f2fd;
    color: #1565c0;
}

.btfw-datepicker-popup .ui-datepicker-today a {
    background: #fff3e0 !important;
    color: #e65100 !important;
    font-weight: 700 !important;
}

.btfw-datepicker-popup .ui-state-active,
.btfw-datepicker-popup .ui-state-highlight.ui-state-active {
    background: linear-gradient(135deg, #2196f3, #1565c0) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.btfw-datepicker-popup .ui-datepicker-other-month a {
    color: #c8dae8;
}

.btfw-msg {
    font-size: 12px;
    color: #e53935;
    margin-top: 4px;
    display: none;
}

.btfw-msg.show {
    display: block;
}

.btfw-error {
    border-color: #e53935 !important;
    background-color: #fff5f5;
}

.btfw-radio-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.btfw-radio-card {
    cursor: pointer;
    position: relative;
}

.btfw-radio-card input {
    display: none !important;
}

.btfw-radio-ui {
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    background: #fff;
    transition: all 0.2s ease;
}

.btfw-radio-ui .icon {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

/* hover */
.btfw-radio-card:hover .btfw-radio-ui {
    border-color: #2196f3;
}

/* active */
.btfw-radio-card input:checked + .btfw-radio-ui {
    border-color: #2196f3;
    background: #e3f2fd;
    color: #1565c0;
    font-weight: 600;
}

/* ════════════════════════════════════════════
   BTFW CALENDAR CONFIRMATION
   Scoped under .btfw-calendar-confirmation
   Datepicker popup: .btfw-cc-datepicker-popup
   ════════════════════════════════════════════ */

.btfw-calendar-confirmation *,
.btfw-calendar-confirmation *::before,
.btfw-calendar-confirmation *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── WRAPPER ── */
.btfw-calendar-confirmation {
    background: #c9e8f7;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 12px;
}

/* ── CARD ── */
.btfw-calendar-confirmation .btfw-cc-card {
    background: #fff;
    width: 100%;
    max-width: 880px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 60, 140, .18);
}

/* ── HEADER ── */
.btfw-calendar-confirmation .btfw-cc-hdr {
    background: #1565c0;
    padding: 20px 22px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.btfw-calendar-confirmation .btfw-cc-hdr::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f9a825, #ffd54f, #f9a825);
}

.btfw-calendar-confirmation .btfw-cc-logo {
    background: #fff;
    border-radius: 14px;
    padding: 10px 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 76px;
    gap: 2px;
}

.btfw-calendar-confirmation .btfw-cc-logo-face {
    font-size: 30px;
    line-height: 1;
    display: block;
    margin-bottom: 2px;
}

.btfw-calendar-confirmation .btfw-cc-logo-brand {
    font-size: 10px;
    font-weight: 800;
    color: #1565c0;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -.2px;
}

.btfw-calendar-confirmation .btfw-cc-logo-doki {
    font-size: 9.5px;
    font-weight: 700;
    color: #fff;
    background: #1565c0;
    border-radius: 5px;
    padding: 2px 7px;
    margin-top: 3px;
    letter-spacing: .4px;
}

.btfw-calendar-confirmation .btfw-cc-hdr-title {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.btfw-calendar-confirmation .btfw-cc-hdr-sub {
    font-size: 12.5px;
    color: #90caf9;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.4;
}

/* ── TAGLINE ── */
.btfw-calendar-confirmation .btfw-cc-tagline {
    background: linear-gradient(90deg, #f9a825 0%, #fdd835 50%, #f9a825 100%);
    text-align: center;
    padding: 9px 12px;
    font-size: 14.5px;
    font-weight: 800;
    font-style: italic;
    color: #4a3000;
    letter-spacing: .3px;
    border-bottom: 2px solid #e59a00;
}

/* ── BODY ── */
.btfw-calendar-confirmation .btfw-cc-body {
    padding: 18px 18px 0;
}

/* ── INFO CARD ── */
.btfw-calendar-confirmation .btfw-cc-info-card {
    background: #edf5ff;
    border: 1.5px solid #c8dff7;
    border-radius: 14px;
    padding: 16px 16px 14px;
    margin-bottom: 16px;
}

.btfw-calendar-confirmation .btfw-cc-frow {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.btfw-calendar-confirmation .btfw-cc-frow:last-child {
    margin-bottom: 0;
}

.btfw-calendar-confirmation .btfw-cc-ficon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.btfw-calendar-confirmation .btfw-cc-fi-h {
    background: #dbeafe;
}

.btfw-calendar-confirmation .btfw-cc-fi-w {
    background: #fce4ec;
}

.btfw-calendar-confirmation .btfw-cc-fi-a {
    background: #e8f5e9;
}

.btfw-calendar-confirmation .btfw-cc-fi-p {
    background: #fff3e0;
}

.btfw-calendar-confirmation .btfw-cc-fi-s {
    background: #f3e5f5;
}

.btfw-calendar-confirmation .btfw-cc-fmain {
    flex: 1;
}

.btfw-calendar-confirmation .btfw-cc-flabel {
    font-size: 11.5px;
    font-weight: 800;
    color: #1565c0;
    margin-bottom: 3px;
    display: block;
    letter-spacing: .1px;
}

.btfw-calendar-confirmation .btfw-cc-inline2 {
    display: flex;
    gap: 10px;
}

.btfw-calendar-confirmation .btfw-cc-inline2 .btfw-cc-fi1 {
    flex: 2;
}

.btfw-calendar-confirmation .btfw-cc-inline2 .btfw-cc-fi2 {
    flex: 1;
}

.btfw-calendar-confirmation .btfw-cc-inline2 .btfw-cc-sublabel {
    font-size: 10.5px;
    color: #888;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

/* ── INPUTS (dashed underline style) ── */
.btfw-calendar-confirmation input[type=text],
.btfw-calendar-confirmation input[type=tel],
.btfw-calendar-confirmation textarea {
    width: 100%;
    border: none;
    border-bottom: 2px dashed #90bce8;
    font-size: 13px;
    color: #0d2244;
    padding: 4px 0 3px;
    outline: none;
    transition: border .2s;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: unset !important;
    background: transparent !important;
    font-weight: 700;
}

.btfw-calendar-confirmation input[type=text]:focus,
.btfw-calendar-confirmation input[type=tel]:focus {
    border-bottom: 2px solid #1565c0;
    background: transparent;
}

.btfw-calendar-confirmation input::placeholder,
.btfw-calendar-confirmation textarea::placeholder {
    color: #aac4de;
    font-style: italic;
    font-size: 12px;
}

.btfw-calendar-confirmation textarea {
    resize: none;
    display: block;
    border: 1.5px dashed #90bce8;
    border-radius: 8px;
    padding: 8px 10px;
    min-height: 68px;
    margin-top: 4px;
    background: #fff;
}

.btfw-calendar-confirmation textarea:focus {
    border: 1.5px solid #1565c0;
    outline: none;
}

/* ── DATEPICKER INPUT (in appt card) ── */
.btfw-calendar-confirmation .btfw-cc-datepicker-input {
    width: 100%;
    border: none;
    border-bottom: 2px dashed #90bce8;
    background: transparent;

    font-size: 13px;
    color: #0d2244;
    padding: 4px 0 3px;
    outline: none;
    transition: border .2s;
    cursor: pointer;
    caret-color: transparent;
}

.btfw-calendar-confirmation .btfw-cc-datepicker-input::placeholder {
    color: #aac4de;
    font-style: italic;
    font-size: 12px;
}

.btfw-calendar-confirmation .btfw-cc-datepicker-input:focus {
    border-bottom: 2px solid #1565c0;
}

.btfw-calendar-confirmation .btfw-cc-datepicker-input.btfw-cc-err {
    border-bottom-color: #e53935 !important;
}

/* ── APPT BANNER ── */
.btfw-calendar-confirmation .btfw-cc-appt-banner {
    background: linear-gradient(90deg, #2e7d32, #43a047);
    border-radius: 10px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.btfw-calendar-confirmation .btfw-cc-appt-banner::before,
.btfw-calendar-confirmation .btfw-cc-appt-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 16px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .15), transparent);
}

.btfw-calendar-confirmation .btfw-cc-appt-banner::before {
    left: 0;
}

.btfw-calendar-confirmation .btfw-cc-appt-banner::after {
    right: 0;
    transform: scaleX(-1);
}

.btfw-calendar-confirmation .btfw-cc-banner-arrow {
    color: #a5d6a7;
    font-size: 14px;
    font-weight: 900;
}

.btfw-calendar-confirmation .btfw-cc-banner-text {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ── APPT CARD ── */
.btfw-calendar-confirmation .btfw-cc-appt-card {
    background: #edf5ff;
    border: 1.5px solid #c8dff7;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.btfw-calendar-confirmation .btfw-cc-arow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}

.btfw-calendar-confirmation .btfw-cc-arow:last-child {
    margin-bottom: 0;
}

.btfw-calendar-confirmation .btfw-cc-aicon {
    font-size: 20px;
    width: 26px;
    text-align: center;
    flex-shrink: 0;
}

.btfw-calendar-confirmation .btfw-cc-alabel {
    font-size: 13px;
    font-weight: 700;
    color: #1565c0;
    white-space: nowrap;
    flex-shrink: 0;
}

.btfw-calendar-confirmation .btfw-cc-alabel small {
    font-weight: 400;
    color: #888;
    font-size: 11px;
}

.btfw-calendar-confirmation .btfw-cc-ainput {
    flex: 1;
    position: relative;
}

/* time selects inside appt card */
.btfw-calendar-confirmation .btfw-cc-time-selects {
    display: flex;
    gap: 6px;
    align-items: center;
}

.btfw-calendar-confirmation .btfw-cc-time-selects div {
    flex: 1;
}

.btfw-calendar-confirmation .btfw-cc-time-selects select {
    width: 100%;
    border: none;
    border-bottom: 2px dashed #90bce8;
    background: transparent !important;
    font-size: 13px;
    color: #0d2244;
    padding: 4px 2px 3px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
    transition: border .2s;
    box-shadow: unset !important;
}

.btfw-calendar-confirmation .btfw-cc-time-selects select:focus {
    border-bottom: 2px solid #1565c0;
}

.btfw-calendar-confirmation .btfw-cc-time-sep {
    font-size: 16px;
    font-weight: 700;
    color: #1565c0;
    flex-shrink: 0;
}

/* ── NOTE ROW ── */
.btfw-calendar-confirmation .btfw-cc-note-row {
    display: flex;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 16px;
    padding: 0 18px;
}

.btfw-calendar-confirmation .btfw-cc-notebox {
    flex: 1;
    background: #fffde7;
    border: 1.5px solid #ffe082;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 12.5px;
    font-style: italic;
    color: #4e3a00;
    line-height: 1.65;
}

.btfw-calendar-confirmation .btfw-cc-notebox b {
    font-style: normal;
    font-weight: 700;
}

.btfw-calendar-confirmation .btfw-cc-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.btfw-calendar-confirmation .btfw-cc-qr-frame {
    width: 80px;
    height: 80px;
    border: 2.5px solid #1565c0;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btfw-calendar-confirmation .btfw-cc-qr-frame svg {
    width: 72px;
    height: 72px;
}

.btfw-calendar-confirmation .btfw-cc-qr-cap {
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: #1565c0;
    border-radius: 5px;
    padding: 3px 6px;
    text-align: center;
    line-height: 1.4;
    width: 80px;
}

/* ── FOOTER ── */
div#btfw-footer {
    padding: 0 18px;
}

.btfw-calendar-confirmation .btfw-cc-footer {
    background: #edf5ff;
    padding: 14px 18px 18px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.btfw-calendar-confirmation .btfw-cc-fline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.btfw-calendar-confirmation .btfw-cc-fline:last-child {
    margin-bottom: 0;
}

.btfw-calendar-confirmation .btfw-cc-f-ico {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.btfw-calendar-confirmation .btfw-cc-hotline-label {
    font-size: 13px;
    color: #555;
}

.btfw-calendar-confirmation .btfw-cc-hotline-label b {
    font-size: 16px;
    color: #1565c0;
    font-weight: 900;
}

.btfw-calendar-confirmation .btfw-cc-hosp-name {
    font-size: 13px;
    font-weight: 800;
    color: #1565c0;
}

.btfw-calendar-confirmation .btfw-cc-f-addr {
    font-size: 11.5px;
    color: #666;
    line-height: 1.5;
}

.btfw-calendar-confirmation .btfw-cc-f-hours {
    font-size: 11.5px;
    color: #888;
    font-style: italic;
}

/* ── SUBMIT ── */
.btfw-calendar-confirmation .btfw-cc-submit-wrap {
    padding: 8px 18px 20px;
}

.btfw-calendar-confirmation .btfw-cc-btn {
    width: 100%;
    background: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: filter .2s, transform .1s;
    box-shadow: 0 4px 16px rgba(21, 101, 192, .3);
}

.btfw-calendar-confirmation .btfw-cc-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btfw-calendar-confirmation .btfw-cc-btn:active {
    transform: translateY(0);
}

/* ── VALIDATION ── */
.btfw-calendar-confirmation input.btfw-cc-err,
.btfw-calendar-confirmation textarea.btfw-cc-err,
.btfw-calendar-confirmation select.btfw-cc-err {
    border-bottom-color: #e53935 !important;
}

.btfw-calendar-confirmation textarea.btfw-cc-err {
    border-color: #e53935 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 420px) {
    .btfw-calendar-confirmation .btfw-cc-inline2 {
        flex-direction: column;
        gap: 4px;
    }
}

/* ════════════════════════════════════════════
   JQUERY UI DATEPICKER — .btfw-cc-datepicker-popup
   ════════════════════════════════════════════ */
.btfw-cc-datepicker-popup.ui-datepicker {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(21, 101, 192, .22);
    padding: 14px;

    font-size: 13.5px;
    width: 290px;
    z-index: 9999 !important;
}

.btfw-cc-datepicker-popup .ui-datepicker-header {
    background: linear-gradient(135deg, #2196f3, #1565c0);
    border: none;
    border-radius: 10px;
    padding: 10px 44px;
    margin-bottom: 10px;
    position: relative;
}

.btfw-cc-datepicker-popup .ui-datepicker-title {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    letter-spacing: .3px;
    line-height: 28px;
}

.btfw-cc-datepicker-popup .ui-datepicker-prev,
.btfw-cc-datepicker-popup .ui-datepicker-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, .2);
    border-radius: 8px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    border: none;
}

.btfw-cc-datepicker-popup .ui-datepicker-prev {
    left: 8px !important;
}

.btfw-cc-datepicker-popup .ui-datepicker-next {
    right: 8px !important;
}

.btfw-cc-datepicker-popup .ui-datepicker-prev:hover,
.btfw-cc-datepicker-popup .ui-datepicker-next:hover {
    background: rgba(255, 255, 255, .35);
}

.btfw-cc-datepicker-popup .ui-datepicker-prev span,
.btfw-cc-datepicker-popup .ui-datepicker-next span {
    display: none;
}

.btfw-cc-datepicker-popup .ui-datepicker-prev::after {
    content: '‹';
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.btfw-cc-datepicker-popup .ui-datepicker-next::after {
    content: '›';
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.btfw-cc-datepicker-popup table {
    width: 100%;
    border-collapse: collapse;
}

.btfw-cc-datepicker-popup th {
    color: #90aec8;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.btfw-cc-datepicker-popup td {
    padding: 2px;
}

.btfw-cc-datepicker-popup td span,
.btfw-cc-datepicker-popup td a {
    display: block;
    text-align: center;
    padding: 7px 4px;
    border-radius: 8px;
    font-size: 13px;
    color: #1a3a5c;
    text-decoration: none;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.btfw-cc-datepicker-popup td a:hover {
    background: #e3f2fd;
    color: #1565c0;
}

.btfw-cc-datepicker-popup .ui-datepicker-today a {
    background: #fff3e0 !important;
    color: #e65100 !important;
    font-weight: 700 !important;
}

.btfw-cc-datepicker-popup .ui-state-active,
.btfw-cc-datepicker-popup .ui-state-highlight.ui-state-active {
    background: linear-gradient(135deg, #2196f3, #1565c0) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.btfw-cc-datepicker-popup .ui-datepicker-other-month a {
    color: #c8dae8;
}

form#booking-submit-confirm {
    margin: 0 !important;
}

.btfw-thankyou {
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

.btfw-ty-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    width: 100%;
    animation: fadeInUp 0.6s ease;
}

/* ICON SUCCESS */
.checkmark-circle {
    width: 80px;
    height: 80px;
    position: relative;
    display: inline-block;
    border-radius: 50%;
    background: #4caf50;
    margin-bottom: 20px;
}

.checkmark {
    transform: rotate(45deg);
    height: 40px;
    width: 20px;
    border-bottom: 5px solid #fff;
    border-right: 5px solid #fff;
    position: absolute;
    top: 18px;
    left: 28px;
    animation: draw 0.5s ease forwards;
}

/* TEXT */
.btfw-ty-title {
    font-size: 26px;
    color: #2e7d32;
    margin-bottom: 10px;
}

.btfw-ty-desc {
    color: #555;
    font-size: 15px;
    margin-bottom: 20px;
}

.btfw-ty-info {
    background: #f5f7fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.btfw-ty-info p {
    margin: 0;
}

/* BUTTONS */
.btfw-ty-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btfw-ty-actions a {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btfw-btn-home {
    background: #2196f3;
    color: #fff;
}

.btfw-btn-home:hover {
    background: #1976d2;
}

.btfw-btn-again {
    background: #e3f2fd;
    color: #2196f3;
    margin: 0 !important;
    font-size: 14px !important;
    text-transform: unset !important;
    font-weight: normal;
    border-radius: 8px;
    padding: 10px 18px !important;
    min-height: unset !important;
    height: unset !important;
    line-height: unset;
}

.btfw-btn-again:hover {
    background: #bbdefb;
}

/* ANIMATION */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes draw {
    from {
        height: 0;
        width: 0;
    }
    to {
        height: 40px;
        width: 20px;
    }
}

.btfw-cc-hdr-select {
    margin: 10px 0 0 0;
}

.btfw-cc-hdr-select select {
    background-color: #1565c0 !important;
    color: #fff !important;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: unset;
}

.btfw-cc-hdr-select select option {
    color: #fff;
}

.btfw-cc-hdr-select select:focus {
    color: #fff !important;
}

.btfw-cc-hidden {
    display: none;
}

a.info--cta.cta-yc {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
}

.dattuvan2 a {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
    border: 0 !important;
}

div#btfw-booking-modal {
    border-radius: 20px !important;
    padding: 20px !important;
}

div#btfw-booking-modal .btfw-banner {
    margin-top: -50px;
}

.btfw-datepicker-popup .btfw-title-dob {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}

.btfw-datepicker-popup .btfw-title-dob select {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 12px;
    border-radius: 5px;
    width: 100%;
}
.btfw-datepicker-popup .btfw-title-dob select option{
    color:#000 !important;
}

.btfw-table {
    white-space: nowrap;
    overflow-x: scroll;
}
@media only screen and (max-width: 768px) {
    .btfw-form-grid {
        display: grid;
        grid-template-columns: 1.3fr 0.7fr;
        margin-bottom: 0px;
        gap: 10px !important;
    }

    .btfw-form-calendar .btfw-field-label {
        font-size: 14px;
    }

    .btfw-radio-group {
        gap: 5px;
    }

    .btfw-form-grid .btfw-field:not(:last-child) {
        margin-bottom: 0 !important;
    }

    .btfw-form-grid .btfw-field:last-of-type {
        grid-column: 1 / -1;
        margin-bottom: 10px !important;
    }

    .btfw-form-calendar .btfw-field {
        margin-bottom: 10px !important;
    }

    .btfw-form-calendar .btfw-form-card {
        padding: 30px 0 0 0;
    }

    .btfw-form-calendar .btfw-banner-title {
        font-size: 20px;
        line-height: 24px;
    }

    .btfw-form-calendar .btfw-cal-icon {
        display: none;
    }

    .btfw-radio-group {
        grid-template-columns: repeat(4, 1fr);
    }

    .btfw-calendar-confirmation .btfw-cc-card {
        width: 100%;
        max-width: 100%;
        z-index: 9999999;
    }

    .btfw-ty-card {
        padding: 30px 15px;
        width: 95%;
    }

    div#btfw-booking-modal {
        width: 95% !important;
        max-width: 95% !important;
    }

    .btfw-radio-ui {
        padding: 5px;
        font-size: 13px;
        line-height: 18px;
        height: 70px;
        display: flex;
        flex-flow: column;
        justify-content: center;
    }

    .btfw-calendar-confirmation .btfw-cc-hdr-title {
        font-size: 16px;
    }
}