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

   FILE:
   main/static/css/public_profile/pharmacy/appointment_booking.css

   MATCHED WITH:
   main/static/js/public_profile/pharmacy/appointment_booking.js

   DESIGN:
   ---------------------------------------------------------
   • Doctor-style booking UI
   • Mobile-first
   • SweetAlert2 booking popup
   • Scrollable form content
   • Fixed SweetAlert action area
   • Simple success popup
   • Appointment Reference support
========================================================= */


/* =========================================================
   ROOT / 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;
}


/* =========================================================
   SWEETALERT 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;
}


/* =========================================================
   HTML DIRECT CHILD WIDTH
========================================================= */

.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
   AGE + GENDER
========================================================= */

.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;
}


/* =========================================================
   REQUIRED STAR
========================================================= */

.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
   ---------------------------------------------------------
   BOOKING:
   • Back + Confirm Book
   • 10px gap
   • Centered

   SUCCESS:
   • Done only
   • Automatically centered
   • No extra card
========================================================= */

.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;

    flex: 0 0 auto !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;
}


/* =========================================================
   CONFIRM / DONE HOVER
========================================================= */

.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;
}


/* =========================================================
   CANCEL / BACK HOVER
========================================================= */

.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 LOADING
========================================================= */

.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;
}


/* =========================================================
   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;
}


/* =========================================================
   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;
    }


    /* =====================================================
       MOBILE ACTION AREA
       Back + Confirm Book = 10px gap
       Done = centered automatically
    ===================================================== */

    .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-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;
    }
}


/* =========================================================
   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;
    }


    /* =====================================================
       VERY SMALL MOBILE ACTION AREA
       Back + Confirm Book = 8px gap
       Done = centered
    ===================================================== */

    .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-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;
    }
}


/* =========================================================
   TABLET
   481px – 767px
========================================================= */

@media (min-width: 481px) and (max-width: 767px) {

    .hc-appointment-booking-swal-popup {

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

        max-width: 480px !important;

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

        padding: 22px 18px 0 !important;

        border-radius: 18px !important;
    }


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

        font-size: 20px !important;
    }


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

        min-height: 44px;
    }


    .hc-appointment-booking-textarea {

        min-height: 88px;
    }


    /* =====================================================
       TABLET ACTION AREA
       Back + Confirm Book = 10px gap
       Done = centered
    ===================================================== */

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

        justify-content: center !important;

        gap: 10px !important;

        padding: 14px 0 18px !important;

        border: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }
}


/* =========================================================
   DESKTOP
   ≥ 768px
========================================================= */

@media (min-width: 768px) {

    .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;
    }


    /* =====================================================
       DESKTOP ACTION AREA
       Back + Confirm Book = 10px gap
       Done = centered
    ===================================================== */

    .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;
    }
}


/* =========================================================
   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;
    }
}


/* =========================================================
   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;
    }


    /* =====================================================
       SHORT VIEWPORT ACTION AREA
       Back + Confirm Book = 8px gap
       Done = centered
    ===================================================== */

    .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-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-appointment-booking-swal-popup {

        box-shadow: none !important;
    }
}

