/* =====================================================================================================
   tkosuites.com: the standard pop-up look (Isaac, 11/18/2026: "you can update all").

   Every pop-up on the public site looks like the notice box on the office checkout
   (resources/js/pages/frontend/components/NoticeBox.jsx): a light blue box, a 1px blue border,
   8px corners, a bold blue title in Josefin Sans and dark text. Only the LOOK changes here: each
   pop-up keeps its own size, spacing, buttons, fields and wording.

   Loaded LAST in the four public layouts (resources/views/front/layouts/master, application,
   client-review and ps1583), so it is never used by the admin pages.

   Why !important: many pages style their pop-ups with inline style="..." or page CSS (some already
   with !important). This file must win, but only on colour, border, corners and title.

   Making a NEW pop-up: use a Bootstrap .modal (it gets this look automatically), or give a custom
   box the class tko-pop (and tko-pop-title / tko-pop-text inside it). Docs: docs/popups.md.
   ===================================================================================================== */

:root {
    --tko-pop-tint: #f3f8fc;   /* box background */
    --tko-pop-blue: #1262a2;   /* border, title, close button */
    --tko-pop-ink: #1d2429;    /* text */
    --tko-pop-line: #cfe0ef;   /* lines between header, body and footer */
    --tko-pop-shadow: 0 12px 36px rgba(15, 42, 95, 0.22);
}

/* ---- 1. Every Bootstrap pop-up: jQuery pages (My Account, payments, calendar, terms, space details,
          login, broker referral...) and React-Bootstrap ones (office checkout, reviews). ---------- */
.modal .modal-content {
    background: var(--tko-pop-tint) !important;
    border: 1px solid var(--tko-pop-blue) !important;
    border-radius: 8px !important;
    box-shadow: var(--tko-pop-shadow) !important;
    color: var(--tko-pop-ink);
}
/* Headers and footers sit on the same light blue (the Space details pricing pop-ups used to have
   green / blue / purple header bands), with a thin blue-grey line between the parts. */
.modal .modal-header {
    background: transparent !important;
    border-bottom: 1px solid var(--tko-pop-line) !important;
}
.modal .modal-footer {
    background: transparent !important;
    border-top: 1px solid var(--tko-pop-line) !important;
}
/* The title: .modal-title, a heading in the header, the login pop-up's heading (.acct-head) and the
   "Something Went Wrong" payment error. */
.modal .modal-title,
.modal .modal-header h1, .modal .modal-header h2, .modal .modal-header h3,
.modal .modal-header h4, .modal .modal-header h5, .modal .modal-header h6,
.modal .acct-head h4,
.modal .mp-error-title {
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    color: var(--tko-pop-blue) !important;
}
/* The close (x) button. */
.modal .close,
.modal .acct-close,
.modal .quote-modal-close,
.modal .mp-error-close {
    color: var(--tko-pop-blue) !important;
    text-shadow: none !important;
    opacity: 0.85;
}

/* ---- 2. Custom pop-ups (not Bootstrap), one block per page. ---------------------------------- */

/* Meeting-room booking (login-checknew, make-payment-meting-room): the "Validating your booking"
   progress pop-up. Same change as the "Redirecting to DocuSign" pop-ups: no big round icon, text on
   the left, smaller blue title. The script still swaps the title, text and steps by id. */
#mrPayOverlay .mr-pay-box {
    background: var(--tko-pop-tint) !important;
    border: 1px solid var(--tko-pop-blue) !important;
    border-radius: 8px !important;
    box-shadow: var(--tko-pop-shadow) !important;
    text-align: left !important;
    padding: 18px 22px !important;
}
#mrPayOverlay .mr-pay-badge { display: none !important; }
#mrPayOverlay .mr-pay-title {
    font-size: 16px !important;
    color: var(--tko-pop-blue) !important;
    text-align: left !important;
    margin: 0 0 6px !important;
}
#mrPayOverlay .mr-pay-sub {
    font-size: 13px !important;
    color: var(--tko-pop-ink) !important;
    text-align: left !important;
    margin: 0 0 12px !important;
}
#mrPayOverlay .mr-pay-steps { margin: 0 0 14px !important; }
#mrPayOverlay .mr-pay-foot { justify-content: flex-start !important; }

/* Make a Payment and meeting-room payment: the Stripe card window. */
#stripeModal {
    background: var(--tko-pop-tint) !important;
    border: 1px solid var(--tko-pop-blue) !important;
    border-radius: 8px !important;
    box-shadow: var(--tko-pop-shadow) !important;
}
#stripeModal #closeModal { color: var(--tko-pop-blue) !important; }

/* My requests: the "Cannot cancel a completed task" style message box (#actionModal). */
#actionModal > div {
    background: var(--tko-pop-tint) !important;
    border: 1px solid var(--tko-pop-blue) !important;
    border-radius: 8px !important;
    box-shadow: var(--tko-pop-shadow) !important;
}
#actionModal #modalMessage { color: var(--tko-pop-ink) !important; }

/* PS Form 1583: "Adopt Your Signature". */
.sgm-overlay .sgm {
    background: var(--tko-pop-tint) !important;
    border: 1px solid var(--tko-pop-blue) !important;
    border-radius: 8px !important;
    box-shadow: var(--tko-pop-shadow) !important;
}
.sgm-overlay .sgm-head { border-bottom-color: var(--tko-pop-line) !important; }
.sgm-overlay .sgm-head h3 {
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: var(--tko-pop-blue) !important;
}
.sgm-overlay .sgm-x { color: var(--tko-pop-blue) !important; }

/* Space details: the "Price Calculation" panel that slides up at the bottom right. */
.dp-panel {
    background: var(--tko-pop-tint) !important;
    border: 1px solid var(--tko-pop-blue) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-radius: 8px 0 0 0 !important;
}
.dp-panel .dp-panel-bar {
    background: var(--tko-pop-tint) !important;
    border-bottom-color: var(--tko-pop-line) !important;
}
.dp-panel .dp-panel-title { font-weight: 600 !important; color: var(--tko-pop-blue) !important; }

/* ---- 3. For new custom pop-ups: class="tko-pop" on the box. ---------------------------------- */
.tko-pop {
    background: var(--tko-pop-tint);
    border: 1px solid var(--tko-pop-blue);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--tko-pop-ink);
    box-shadow: var(--tko-pop-shadow);
}
.tko-pop-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    color: var(--tko-pop-blue);
}
.tko-pop-text { font-size: 13px; line-height: 1.5; margin-top: 6px; }
