
/*
=========================================================
   HELCU — PUBLIC CLINIC PROFILE
   APPOINTMENT BOOKING

   FILE
   -------------------------------------------------------
   main/static/css/public_profile/clinic/appointment_booking.css

   MOBILE FIRST
   -------------------------------------------------------
   0px → 767.98px

=========================================================
*/


/* =========================================================
   BOX SIZING
========================================================= */

.hc-appointment-booking-swal-popup,
.hc-appointment-booking-swal-popup *,
.hc-appointment-booking-swal-popup *::before,
.hc-appointment-booking-swal-popup *::after {

    box-sizing: border-box;
}


/* =========================================================
   CLINIC DOCTOR RESULT
========================================================= */

.hc-public-clinic-doctor-list {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 9px;
}


/* =========================================================
   DOCTOR CARD
========================================================= */

.hc-public-clinic-doctor-card {

    width: 100%;

    padding: 12px;

    background: #F8FAFC;

    border: 1px solid #EEF2F7;

    border-radius: 12px;
}


/* =========================================================
   DOCTOR INFORMATION
========================================================= */

.hc-public-clinic-doctor-information {

    width: 100%;

    min-width: 0;
}


/* =========================================================
   DOCTOR NAME
========================================================= */

.hc-public-clinic-doctor-name {

    margin: 0;

    color: #0F172A;

    font-size: 13px;

    font-weight: 750;

    line-height: 1.35;

    overflow-wrap: anywhere;
}


/* =========================================================
   SPECIALIZATION
========================================================= */

.hc-public-clinic-doctor-specialization {

    display: flex;

    align-items: center;

    gap: 7px;

    margin: 3px 0 0;

    color: #64748B;

    font-size: 11px;

    line-height: 1.45;

    overflow-wrap: anywhere;
}


.hc-public-clinic-doctor-specialization .bi {

    flex: 0 0 auto;

    color: #0F766E;

    font-size: 14px;
}


/* =========================================================
   SCHEDULE LIST
========================================================= */

.hc-public-clinic-doctor-schedule-list {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 14px;
}


/* =========================================================
   SCHEDULE
========================================================= */

.hc-public-clinic-doctor-schedule {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding: 11px 12px;

    background: #FFFFFF;

    border: 1px solid #E2E8F0;

    border-radius: 10px;
}


/* =========================================================
   SCHEDULE INFORMATION
========================================================= */

.hc-public-clinic-doctor-schedule-information {

    flex: 1 1 auto;

    width: 100%;
}


/* =========================================================
   DOCTOR TIME
========================================================= */

.hc-public-clinic-doctor-time {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #334155;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.5;
}


.hc-public-clinic-doctor-time .bi {

    flex: 0 0 auto;

    color: #0F766E;

    font-size: 15px;
}


/* =========================================================
   BOOK APPOINTMENT BUTTON
========================================================= */

.hc-public-clinic-book-appointment-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    width: 100%;

    min-height: 42px;

    padding: 9px 14px;

    color: #FFFFFF;

    background: #0F766E;

    border: 1px solid #0F766E;

    border-radius: 9px;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;

    outline: none;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}


.hc-public-clinic-book-appointment-button:hover {

    background: #115E59;

    border-color: #115E59;

    box-shadow:
        0 4px 10px rgba(15, 118, 110, 0.18);
}


.hc-public-clinic-book-appointment-button:active {

    transform: translateY(1px);
}


.hc-public-clinic-book-appointment-button:focus-visible {

    box-shadow:
        0 0 0 3px rgba(15, 118, 110, 0.18);
}


.hc-public-clinic-book-appointment-button .bi {

    font-size: 15px;
}


/* =========================================================
   SWEETALERT BOOKING POPUP
========================================================= */

.hc-appointment-booking-swal-popup {

    width: calc(100% - 24px) !important;

    max-width: 460px !important;

    display: flex !important;

    flex-direction: column !important;

    min-height: 0 !important;

    max-height: calc(100vh - 24px) !important;

    margin: 12px auto !important;

    padding: 24px 18px 0 !important;

    border-radius: 18px !important;

    background: #FFFFFF !important;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.16) !important;

    overflow: hidden !important;
}


/* =========================================================
   SWEETALERT TITLE
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-title {

    flex: 0 0 auto !important;

    width: 100% !important;

    margin: 0 0 16px !important;

    padding: 0 !important;

    color: #0F172A !important;

    font-family: inherit !important;

    font-size: 20px !important;

    font-weight: 700 !important;

    line-height: 1.3 !important;

    text-align: center !important;

    overflow-wrap: anywhere;

    word-break: break-word;
}


/* =========================================================
   SWEETALERT HTML CONTAINER
========================================================= */

.hc-appointment-booking-swal-html,
.hc-appointment-booking-swal-popup
.swal2-html-container {

    width: 100% !important;

    flex: 1 1 auto !important;

    min-height: 0 !important;

    margin: 0 !important;

    padding: 0 0 16px !important;

    color: #334155 !important;

    font-family: inherit !important;

    font-size: 14px !important;

    line-height: 1.5 !important;

    text-align: left !important;

    overflow-y: auto !important;

    overflow-x: hidden !important;

    max-height: none !important;

    scrollbar-width: thin;

    overflow-wrap: anywhere;

    word-break: break-word;
}


.hc-appointment-booking-swal-html > *,
.hc-appointment-booking-swal-popup
.swal2-html-container > * {

    max-width: 100%;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.hc-appointment-booking-swal-html::-webkit-scrollbar,
.hc-appointment-booking-swal-popup
.swal2-html-container::-webkit-scrollbar {

    width: 6px;
}


.hc-appointment-booking-swal-html::-webkit-scrollbar-track,
.hc-appointment-booking-swal-popup
.swal2-html-container::-webkit-scrollbar-track {

    background: transparent;
}


.hc-appointment-booking-swal-html::-webkit-scrollbar-thumb,
.hc-appointment-booking-swal-popup
.swal2-html-container::-webkit-scrollbar-thumb {

    background: #CBD5E1;

    border-radius: 999px;
}


.hc-appointment-booking-swal-html::-webkit-scrollbar-thumb:hover,
.hc-appointment-booking-swal-popup
.swal2-html-container::-webkit-scrollbar-thumb:hover {

    background: #94A3B8;
}


/* =========================================================
   MAIN BOOKING WRAPPER
========================================================= */

.hc-appointment-booking {

    width: 100%;

    margin: 0;

    padding: 0;
}


/* =========================================================
   BOOKING HEADER
========================================================= */

.hc-appointment-booking-header {

    width: 100%;

    margin: 0 0 16px;

    padding: 0;
}


/* =========================================================
   BOOKING TITLE
========================================================= */

.hc-appointment-booking-title {

    width: 100%;

    margin: 0;

    padding: 0;

    text-align: center;
}


.hc-appointment-booking-title h2 {

    margin: 0 0 5px;

    padding: 0;

    color: #0F172A;

    font-family: inherit;

    font-size: 20px;

    font-weight: 700;

    line-height: 1.3;
}


.hc-appointment-booking-title p {

    margin: 0;

    padding: 0;

    color: #64748B;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.5;
}


/* =========================================================
   BOOKING SUMMARY
========================================================= */

.hc-appointment-booking-summary {

    width: 100%;

    margin: 0 0 18px;

    padding: 12px;

    border: 1px solid #E2E8F0;

    border-radius: 11px;

    background: #F8FAFC;
}


/* =========================================================
   SUMMARY ROW
========================================================= */

.hc-appointment-booking-summary-row {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 12px;

    width: 100%;

    padding: 6px 0;
}


.hc-appointment-booking-summary-row:first-child {

    padding-top: 0;
}


.hc-appointment-booking-summary-row:last-child {

    padding-bottom: 0;
}


/* =========================================================
   SUMMARY LABEL
========================================================= */

.hc-appointment-booking-summary-row span {

    flex: 0 0 auto;

    max-width: 42%;

    color: #64748B;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.4;
}


/* =========================================================
   SUMMARY VALUE
========================================================= */

.hc-appointment-booking-summary-row strong {

    flex: 1 1 auto;

    min-width: 0;

    color: #0F172A;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.4;

    text-align: right;

    overflow-wrap: anywhere;

    word-break: break-word;
}


/* =========================================================
   PATIENT FORM
========================================================= */

.hc-appointment-booking-form {

    width: 100%;

    margin: 0;

    padding: 0;
}


/* =========================================================
   FORM ROW
========================================================= */

.hc-appointment-booking-row {

    display: flex;

    align-items: flex-start;

    width: 100%;

    gap: 12px;

    margin: 0;

    padding: 0;
}


.hc-appointment-booking-row
.hc-appointment-booking-field {

    flex: 1 1 0;

    min-width: 0;
}


/* =========================================================
   FORM FIELD
========================================================= */

.hc-appointment-booking-field {

    width: 100%;

    margin: 0 0 15px;
}


.hc-appointment-booking-field:last-child {

    margin-bottom: 0;
}


/* =========================================================
   LABEL
========================================================= */

.hc-appointment-booking-field label {

    display: block;

    width: 100%;

    margin: 0 0 7px;

    padding: 0;

    color: #334155;

    font-family: inherit;

    font-size: 13px;

    font-weight: 650;

    line-height: 1.4;
}


.hc-appointment-booking-field label span {

    color: #DC2626;

    font-weight: 700;
}


/* =========================================================
   INPUT
========================================================= */

.hc-appointment-booking-input {

    display: block;

    width: 100%;

    min-height: 44px;

    margin: 0;

    padding: 10px 12px;

    border: 1px solid #CBD5E1;

    border-radius: 9px;

    outline: none;

    background: #FFFFFF;

    color: #0F172A;

    font-family: inherit;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.4;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}


/* =========================================================
   SELECT
========================================================= */

.hc-appointment-booking-select {

    display: block;

    width: 100%;

    min-height: 44px;

    margin: 0;

    padding: 10px 12px;

    border: 1px solid #CBD5E1;

    border-radius: 9px;

    outline: none;

    background: #FFFFFF;

    color: #0F172A;

    font-family: inherit;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.4;

    cursor: pointer;

    appearance: auto;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}


/* =========================================================
   TEXTAREA
========================================================= */

.hc-appointment-booking-textarea {

    display: block;

    width: 100%;

    min-height: 88px;

    margin: 0;

    padding: 10px 12px;

    border: 1px solid #CBD5E1;

    border-radius: 9px;

    outline: none;

    background: #FFFFFF;

    color: #0F172A;

    font-family: inherit;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.5;

    resize: vertical;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.hc-appointment-booking-input::placeholder,
.hc-appointment-booking-textarea::placeholder {

    color: #94A3B8;

    opacity: 1;
}


/* =========================================================
   HOVER
========================================================= */

.hc-appointment-booking-input:hover,
.hc-appointment-booking-select:hover,
.hc-appointment-booking-textarea:hover {

    border-color: #94A3B8;
}


/* =========================================================
   FOCUS
========================================================= */

.hc-appointment-booking-input:focus,
.hc-appointment-booking-select:focus,
.hc-appointment-booking-textarea:focus {

    border-color: #0F766E;

    background: #FFFFFF;

    box-shadow:
        0 0 0 3px rgba(15, 118, 110, 0.10);
}


/* =========================================================
   INVALID FIELD
========================================================= */

.hc-appointment-booking-input.is-invalid,
.hc-appointment-booking-select.is-invalid,
.hc-appointment-booking-textarea.is-invalid {

    border-color: #DC2626 !important;

    background: #FFFAFA !important;

    box-shadow:
        0 0 0 3px rgba(220, 38, 38, 0.08) !important;
}


/* =========================================================
   ERROR MESSAGE
========================================================= */

.hc-appointment-booking-error {

    display: block;

    width: 100%;

    min-height: 0;

    margin: 5px 0 0;

    padding: 0;

    color: #B91C1C;

    font-size: 11.5px;

    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   NUMBER INPUT
========================================================= */

input[type="number"].hc-appointment-booking-input {

    appearance: textfield;

    -moz-appearance: textfield;
}


input[type="number"].hc-appointment-booking-input::-webkit-inner-spin-button,
input[type="number"].hc-appointment-booking-input::-webkit-outer-spin-button {

    margin: 0;
}


/* =========================================================
   TEL INPUT
========================================================= */

input[type="tel"].hc-appointment-booking-input {

    letter-spacing: 0.1px;
}


/* =========================================================
   AUTOFILL
========================================================= */

.hc-appointment-booking-swal-popup
.hc-appointment-booking-input:-webkit-autofill {

    -webkit-text-fill-color: #0F172A;

    box-shadow:
        0 0 0 1000px #FFFFFF inset;
}


/* =========================================================
   SWEETALERT ACTION AREA
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-actions {

    position: relative !important;

    z-index: 50 !important;

    display: flex !important;

    flex: 0 0 auto !important;

    align-items: center !important;

    justify-content: center !important;

    flex-wrap: nowrap !important;

    gap: 10px !important;

    width: 100% !important;

    min-height: 0 !important;

    margin: 0 !important;

    padding: 14px 0 18px !important;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    box-sizing: border-box !important;
}


/* =========================================================
   SWEETALERT BUTTON BASE
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-confirm,
.hc-appointment-booking-swal-popup
.swal2-cancel {

    flex: 0 0 auto !important;

    min-width: 100px !important;

    min-height: 42px !important;

    margin: 0 !important;

    padding: 9px 16px !important;

    border-radius: 9px !important;

    outline: none !important;

    font-family: inherit !important;

    font-size: 13px !important;

    font-weight: 650 !important;

    line-height: 1.2 !important;

    box-sizing: border-box !important;

    cursor: pointer !important;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}


/* =========================================================
   CONFIRM / DONE BUTTON
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-confirm {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    min-width: 110px !important;

    min-height: 42px !important;

    margin: 0 !important;

    padding: 9px 20px !important;

    border: 1px solid #0F766E !important;

    border-radius: 9px !important;

    outline: none !important;

    background: #0F766E !important;

    color: #FFFFFF !important;

    font-family: inherit !important;

    font-size: 13px !important;

    font-weight: 650 !important;

    line-height: 1.2 !important;

    text-align: center !important;

    cursor: pointer !important;

    box-shadow:
        0 2px 6px rgba(15, 118, 110, 0.16) !important;

    box-sizing: border-box !important;
}


.hc-appointment-booking-swal-popup
.swal2-confirm:hover {

    background: #115E59 !important;

    border-color: #115E59 !important;

    box-shadow:
        0 4px 10px rgba(15, 118, 110, 0.20) !important;
}


/* =========================================================
   CANCEL / BACK BUTTON
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-cancel {

    border: 1px solid #CBD5E1 !important;

    background: #FFFFFF !important;

    color: #334155 !important;

    box-shadow: none !important;
}


.hc-appointment-booking-swal-popup
.swal2-cancel:hover {

    border-color: #94A3B8 !important;

    background: #F8FAFC !important;

    color: #0F172A !important;
}


/* =========================================================
   ACTIVE BUTTON
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-confirm:active,
.hc-appointment-booking-swal-popup
.swal2-cancel:active {

    transform: translateY(1px);
}


/* =========================================================
   FOCUS VISIBLE
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-confirm:focus-visible,
.hc-appointment-booking-swal-popup
.swal2-cancel:focus-visible,
.hc-appointment-booking-input:focus-visible,
.hc-appointment-booking-select:focus-visible,
.hc-appointment-booking-textarea:focus-visible {

    box-shadow:
        0 0 0 3px rgba(15, 118, 110, 0.16) !important;
}


/* =========================================================
   SWEETALERT VALIDATION
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-validation-message {

    width: 100% !important;

    margin: 10px 0 0 !important;

    padding: 9px 11px !important;

    border-radius: 8px !important;

    background: #FEF2F2 !important;

    color: #B91C1C !important;

    font-size: 12px !important;

    line-height: 1.45 !important;

    text-align: left !important;

    box-sizing: border-box !important;
}


/* =========================================================
   SWEETALERT LOADER
========================================================= */

.hc-appointment-booking-swal-popup
.swal2-loader {

    border-color:
        #0F766E
        transparent
        #0F766E
        transparent !important;
}


/* =========================================================
   SUCCESS WRAPPER
========================================================= */

.hc-appointment-booking-success {

    width: 100%;

    margin: 0;

    padding: 6px 0 4px;

    text-align: center;
}


/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.hc-appointment-booking-success-message {

    width: 100%;

    margin: 0 0 18px;

    padding: 0;

    color: #334155;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.55;

    text-align: center;
}


/* =========================================================
   SUCCESS REFERENCE
========================================================= */

.hc-appointment-booking-success-reference {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    width: 100%;

    margin: 0;

    padding: 13px 12px;

    border: 1px solid #99F6E4;

    border-radius: 10px;

    background: #F0FDFA;

    text-align: center;
}


/* =========================================================
   SUCCESS REFERENCE LABEL
========================================================= */

.hc-appointment-booking-success-reference span {

    display: block;

    margin: 0;

    padding: 0;

    color: #64748B;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.4;
}


/* =========================================================
   SUCCESS REFERENCE VALUE
========================================================= */

.hc-appointment-booking-success-reference strong {

    display: block;

    max-width: 100%;

    margin: 0;

    padding: 0;

    color: #0F766E;

    font-size: 17px;

    font-weight: 750;

    line-height: 1.4;

    overflow-wrap: anywhere;

    word-break: break-word;
}


/* =========================================================
   SUCCESS ICON
========================================================= */

.hc-appointment-booking-success-icon {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 12px;

    border-radius: 50%;

    background: #ECFDF5;

    color: #15803D;

    font-size: 26px;

    font-weight: 700;
}


/* =========================================================
   SUCCESS TITLE
========================================================= */

.hc-appointment-booking-success h2 {

    margin: 0 0 8px;

    color: #0F172A;

    font-size: 20px;

    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   INFO MESSAGE
========================================================= */

.hc-appointment-booking-info-message {

    width: 100%;

    margin: 0 0 12px;

    padding: 0;

    color: #475569;

    font-size: 12px;

    line-height: 1.55;

    text-align: center;
}


/* =========================================================
   WARNING MESSAGE
========================================================= */

.hc-appointment-booking-warning-message {

    width: 100%;

    margin: 0 0 14px;

    padding: 9px 10px;

    color: #92400E;

    background: #FFFBEB;

    border: 1px solid #FDE68A;

    border-radius: 9px;

    font-size: 12px;

    line-height: 1.55;

    text-align: left;
}


/* =========================================================
   BOOKING ID BOX
========================================================= */

.hc-appointment-booking-id-box {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    margin: 0 0 14px;

    padding: 12px;

    background: #F0FDFA;

    border: 1px solid #99F6E4;

    border-radius: 10px;

    text-align: center;
}


.hc-appointment-booking-id-box span {

    display: block;

    margin: 0;

    padding: 0;

    color: #64748B;

    font-size: 11px;

    font-weight: 600;

    line-height: 1.4;
}


.hc-appointment-booking-id-box strong {

    display: block;

    max-width: 100%;

    margin: 0;

    padding: 0;

    color: #0F766E;

    font-size: 17px;

    font-weight: 750;

    line-height: 1.4;

    letter-spacing: 0.03em;

    overflow-wrap: anywhere;

    word-break: break-word;
}


/* =========================================================
   SUCCESS DETAILS
========================================================= */

.hc-appointment-booking-success-details {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin: 0;
}


.hc-appointment-booking-success-details > div {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 12px;

    padding: 7px 0;

    border-bottom: 1px solid #EEF2F7;
}


.hc-appointment-booking-success-details > div:last-child {

    border-bottom: 0;
}


.hc-appointment-booking-success-details span {

    color: #64748B;

    font-size: 12px;

    font-weight: 600;
}


.hc-appointment-booking-success-details strong {

    color: #0F172A;

    font-size: 12px;

    font-weight: 700;

    text-align: right;

    overflow-wrap: anywhere;

    word-break: break-word;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.hc-appointment-booking-swal-popup
.hc-appointment-booking-swal-close {

    color: #64748B !important;

    outline: none !important;
}


.hc-appointment-booking-swal-popup
.hc-appointment-booking-swal-close:hover {

    color: #0F172A !important;
}


/* =========================================================
   HIDDEN
========================================================= */

[hidden] {

    display: none !important;
}


/* =========================================================
   MOBILE
   ≤ 480px
========================================================= */

@media (max-width: 480px) {

    .hc-appointment-booking-swal-popup {

        width: calc(100% - 20px) !important;

        max-width: 460px !important;

        max-height: calc(100vh - 20px) !important;

        margin: 10px auto !important;

        padding: 20px 14px 0 !important;

        border-radius: 16px !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-title {

        font-size: 19px !important;

        margin-bottom: 14px !important;
    }


    .hc-appointment-booking-title h2 {

        font-size: 18px;
    }


    .hc-appointment-booking-title p {

        font-size: 12.5px;
    }


    .hc-appointment-booking-summary {

        margin-bottom: 15px;

        padding: 10px;
    }


    .hc-appointment-booking-summary-row {

        gap: 8px;

        padding: 5px 0;
    }


    .hc-appointment-booking-summary-row span {

        max-width: 40%;

        font-size: 11.5px;
    }


    .hc-appointment-booking-summary-row strong {

        font-size: 11.5px;
    }


    .hc-appointment-booking-field {

        margin-bottom: 13px;
    }


    .hc-appointment-booking-field label {

        margin-bottom: 6px;

        font-size: 12.5px;
    }


    .hc-appointment-booking-row {

        gap: 8px;
    }


    .hc-appointment-booking-input,
    .hc-appointment-booking-select {

        min-height: 43px;

        padding: 9px 11px;

        font-size: 14px;
    }


    .hc-appointment-booking-textarea {

        min-height: 82px;

        padding: 9px 11px;

        font-size: 14px;
    }


    .hc-appointment-booking-swal-popup
    .swal2-actions {

        justify-content: center !important;

        gap: 10px !important;

        padding: 12px 0 15px !important;

        border: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-confirm {

        min-width: 110px !important;

        min-height: 40px !important;

        padding: 8px 18px !important;

        font-size: 12.5px !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-cancel {

        min-width: 92px !important;

        min-height: 40px !important;

        padding: 8px 13px !important;

        font-size: 12.5px !important;
    }


    .hc-appointment-booking-success {

        padding: 6px 0 4px;
    }


    .hc-appointment-booking-success-message {

        margin-bottom: 15px;

        font-size: 13.5px;
    }


    .hc-appointment-booking-success-reference {

        padding: 12px 10px;
    }


    .hc-appointment-booking-success-reference span {

        font-size: 11.5px;
    }


    .hc-appointment-booking-success-reference strong {

        font-size: 16px;
    }


    .hc-appointment-booking-success-icon {

        width: 48px;

        height: 48px;

        margin-bottom: 10px;

        font-size: 23px;
    }


    .hc-appointment-booking-success h2 {

        font-size: 18px;

        margin-bottom: 7px;
    }


    .hc-appointment-booking-info-message {

        font-size: 11.5px;

        margin-bottom: 11px;
    }


    .hc-appointment-booking-warning-message {

        font-size: 11.5px;

        margin-bottom: 12px;

        padding: 8px 9px;
    }


    .hc-appointment-booking-id-box {

        padding: 12px 10px;

        margin-bottom: 13px;
    }


    .hc-appointment-booking-id-box span {

        font-size: 11px;
    }


    .hc-appointment-booking-id-box strong {

        font-size: 16px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ≤ 360px
========================================================= */

@media (max-width: 360px) {

    .hc-appointment-booking-swal-popup {

        width: calc(100% - 14px) !important;

        max-height: calc(100vh - 14px) !important;

        margin: 7px auto !important;

        padding: 18px 11px 0 !important;

        border-radius: 14px !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-title {

        font-size: 18px !important;

        margin-bottom: 12px !important;
    }


    .hc-appointment-booking-title h2 {

        font-size: 17px;
    }


    .hc-appointment-booking-row {

        flex-direction: column;

        gap: 0;
    }


    .hc-appointment-booking-row
    .hc-appointment-booking-field {

        width: 100%;

        flex: none;
    }


    .hc-appointment-booking-input,
    .hc-appointment-booking-select {

        min-height: 42px;

        padding: 8px 10px;

        font-size: 13.5px;
    }


    .hc-appointment-booking-textarea {

        min-height: 78px;

        padding: 8px 10px;

        font-size: 13.5px;
    }


    .hc-appointment-booking-swal-popup
    .swal2-actions {

        justify-content: center !important;

        gap: 8px !important;

        padding: 11px 0 14px !important;

        border: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-confirm {

        flex: 0 0 auto !important;

        width: auto !important;

        min-width: 105px !important;

        min-height: 40px !important;

        padding: 8px 16px !important;

        font-size: 12px !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-cancel {

        flex: 0 0 auto !important;

        width: auto !important;

        min-width: 92px !important;

        min-height: 40px !important;

        padding: 8px 13px !important;

        font-size: 12px !important;
    }


    .hc-appointment-booking-success {

        padding: 5px 0 3px;
    }


    .hc-appointment-booking-success-message {

        margin-bottom: 13px;

        font-size: 13px;
    }


    .hc-appointment-booking-success-reference {

        padding: 11px 9px;

        gap: 5px;
    }


    .hc-appointment-booking-success-reference span {

        font-size: 11px;
    }


    .hc-appointment-booking-success-reference strong {

        font-size: 15px;
    }


    .hc-appointment-booking-success-icon {

        width: 44px;

        height: 44px;

        margin-bottom: 9px;

        font-size: 21px;
    }


    .hc-appointment-booking-success h2 {

        font-size: 17px;

        margin-bottom: 6px;
    }


    .hc-appointment-booking-info-message {

        font-size: 11px;

        margin-bottom: 10px;
    }


    .hc-appointment-booking-warning-message {

        font-size: 11px;

        margin-bottom: 11px;

        padding: 8px;
    }


    .hc-appointment-booking-id-box {

        padding: 11px 9px;

        margin-bottom: 12px;
    }


    .hc-appointment-booking-id-box span {

        font-size: 10.5px;
    }


    .hc-appointment-booking-id-box strong {

        font-size: 15px;
    }
}


/* =========================================================
   TABLET / SMALL DESKTOP
   ≥ 768px
========================================================= */

@media (min-width: 768px) {

    .hc-public-clinic-doctor-card {

        padding: 18px;
    }


    .hc-public-clinic-doctor-schedule {

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        gap: 16px;
    }


    .hc-public-clinic-doctor-schedule-information {

        flex: 1 1 auto;

        width: auto;
    }


    .hc-public-clinic-book-appointment-button {

        flex: 0 0 auto;

        width: auto;

        min-width: 165px;
    }


    .hc-appointment-booking-swal-popup {

        width: calc(100% - 40px) !important;

        max-width: 500px !important;

        max-height: calc(100vh - 40px) !important;

        margin: 20px auto !important;

        padding: 26px 20px 0 !important;

        border-radius: 18px !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-title {

        font-size: 21px !important;

        margin-bottom: 17px !important;
    }


    .hc-appointment-booking-title h2 {

        font-size: 21px;
    }


    .hc-appointment-booking-input,
    .hc-appointment-booking-select {

        min-height: 45px;
    }


    .hc-appointment-booking-textarea {

        min-height: 90px;
    }


    .hc-appointment-booking-swal-popup
    .swal2-actions {

        justify-content: center !important;

        gap: 10px !important;

        padding: 15px 0 19px !important;

        border: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-confirm {

        min-height: 43px !important;

        min-width: 110px !important;

        font-size: 13px !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-cancel {

        min-height: 43px !important;

        min-width: 105px !important;

        font-size: 13px !important;
    }


    .hc-appointment-booking-success-message {

        font-size: 14px;

        margin-bottom: 18px;
    }


    .hc-appointment-booking-success-reference {

        padding: 13px 12px;
    }
}


/* =========================================================
   LARGE DESKTOP
   ≥ 1024px
========================================================= */

@media (min-width: 1024px) {

    .hc-appointment-booking-swal-popup {

        max-width: 520px !important;
    }


    .hc-appointment-booking-summary {

        padding: 13px;
    }


    .hc-appointment-booking-field {

        margin-bottom: 15px;
    }
}


/* =========================================================
   LARGE DESKTOP PROFILE
   ≥ 1200px
========================================================= */

@media (min-width: 1200px) {

    .hc-public-clinic-doctor-card {

        padding: 20px;
    }


    .hc-public-clinic-doctor-schedule {

        padding: 12px 14px;
    }


    .hc-public-clinic-book-appointment-button {

        min-width: 180px;
    }


    .hc-appointment-booking-swal-popup {

        max-width: 520px !important;

        padding: 26px 24px 0 !important;
    }
}


/* =========================================================
   SHORT VIEWPORT
========================================================= */

@media (max-height: 600px) {

    .hc-appointment-booking-swal-popup {

        max-height: calc(100vh - 12px) !important;

        margin: 6px auto !important;

        padding-top: 14px !important;
    }


    .hc-appointment-booking-swal-popup
    .swal2-title {

        font-size: 17px !important;

        margin-bottom: 10px !important;
    }


    .hc-appointment-booking-summary {

        margin-bottom: 10px;
    }


    .hc-appointment-booking-field {

        margin-bottom: 10px;
    }


    .hc-appointment-booking-input,
    .hc-appointment-booking-select {

        min-height: 40px;

        padding-top: 7px;

        padding-bottom: 7px;
    }


    .hc-appointment-booking-textarea {

        min-height: 65px;
    }


    .hc-appointment-booking-swal-popup
    .swal2-actions {

        justify-content: center !important;

        gap: 8px !important;

        padding-top: 8px !important;

        padding-bottom: 10px !important;

        border: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }


    .hc-appointment-booking-success-message {

        margin-bottom: 12px;
    }


    .hc-appointment-booking-success-reference {

        padding: 10px;
    }
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) and (pointer: coarse) {

    .hc-appointment-booking-input,
    .hc-appointment-booking-select {

        min-height: 44px;
    }


    .hc-appointment-booking-textarea {

        min-height: 84px;
    }


    .hc-appointment-booking-swal-popup
    .swal2-confirm,
    .hc-appointment-booking-swal-popup
    .swal2-cancel {

        min-height: 42px !important;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hc-public-clinic-book-appointment-button,

    .hc-appointment-booking-input,

    .hc-appointment-booking-select,

    .hc-appointment-booking-textarea,

    .hc-appointment-booking-swal-popup
    .swal2-confirm,

    .hc-appointment-booking-swal-popup
    .swal2-cancel {

        transition: none !important;
    }
}


/* =========================================================
   PRINT
========================================================= */

@media print {

    .hc-public-clinic-book-appointment-button,

    .hc-appointment-booking-swal-popup
    .swal2-actions {

        display: none !important;
    }
}

