/**
 * Fluxpress (FXP) Theme Overrides
 *
 * This stylesheet applies Fluxpress-specific branding and styling
 * on top of the main mCB Booking Laravel application styles.
 *
 */

/* ============================================
   TYPOGRAPHY - Chivo Font Family
   ============================================ */

/* Override primary font to use Chivo instead of Muli */
body {
    font-family: 'Chivo', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.modal-title {
    font-family: 'Chivo', sans-serif;
    letter-spacing: -0.5px;
}

/* Adjust heading sizes to match FXP style */
h1 { font-size: 1.8em; }
h2 { font-size: 1.5em; }

.btn {
    font-weight: bold;
    letter-spacing: -0.5px;
}

label {
    font-weight: 500;
}

nav.navbar { display: none; }

@media (min-width: 1400px) {
    .container { max-width: 1140px; }
}

    /* ============================================
       COLOR SCHEME - FXP Blues/Teals
       ============================================ */

/* Primary colors override */
.btn-primary {
    background-color: #0083bf!important;
    border-color: #0083bf!important;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #006aa0!important;
    border-color: #006aa0!important;
    color: #fff;
}

.btn-primary:active,
.btn-primary.active {
    background-color: #005580!important;
    border-color: #005580!important;
}

.btn-outline-primary {
    color: #0083bf!important;
    border-color: #0083bf!important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #0083bf!important;
    border-color: #0083bf!important;
    color: #fff;
}

.bg-primary {
    background-color: #0083bf !important;
}

.text-primary {
    color: #0083bf !important;
}

.border-primary {
    border-color: #0083bf !important;
}

a {
    color: #0083bf;
}

a:hover {
    color: #006aa0;
}

/* Table label color from FXP */
table.details td.label {
    color: #079;
}


/* ============================================
   LAYOUT & STRUCTURE
   ============================================ */

/* Footer styling matching FXP */
.footer {
    margin-top: 50px;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    background-color: #f7f7f7;
}

.footer p {
    margin-bottom: 0;
}

/* Container adjustments */
.container-main {
    padding: 0;
    position: relative;
}

/* Logo container */
#logoContainer {
    position: relative;
    height: 130px;
    background-color: transparent;
}

#logo {
    height: 68px;
    margin: 6px 0;
}

#logo img {
    max-height: 45px;
}

#main_header h1 {
    font-size: 22px;
    min-height: 68px;
    line-height: 68px;
    margin: 6px 0;
}


/* ============================================
   FORMS & INPUTS
   ============================================ */

.form-group {
    margin-bottom: 15px;
}

/* Contact address confirmation box */
.contactAddressConfirm {
    font-weight: bolder;
    font-size: 18px;
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 15px;
}

/* Date of birth select styling */
.form-group-dob select {
    float: left;
    width: auto;
    padding: 6px 8px;
    margin-left: 2px;
}

/* Contact method containers */
.contactMethodContainer {
    margin-right: 5px;
}

.contactMethodContainer label {
    font-weight: 400;
    margin-left: 5px;
}

/* Mandatory field indicator */
.mandatoryIndicator {
    color: red;
    font-weight: strong;
}


/* ============================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================ */

/* Button styling to match FXP appearance */
input.submit,
.button {
    min-width: 100px;
    text-align: center;
    text-decoration: none;
    padding: 5px 10px;
    background: #eee;
    background: linear-gradient(#fff, #ddd);
    border-radius: 5px;
    font-weight: bold;
    color: #555;
    border: 1px solid #999;
}

input[type=submit]:disabled {
    color: #999;
}


/* ============================================
   STATUS MESSAGES & ALERTS
   ============================================ */

p.statusMsg {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
}

.statusSuccess {
    color: green;
    margin-right: 5px;
    font-weight: bold;
}

.statusAlert {
    color: #df6600;
    margin-right: 5px;
    font-weight: bold;
}

.statusFailure {
    color: red;
    margin-right: 5px;
    font-weight: bold;
}

.statusConfirmed {
    color: #090;
    font-weight: bold;
}

.statusCancelled {
    color: #b00;
    font-weight: bold;
}


/* ============================================
   TABLES
   ============================================ */

/* Form field tables */
table.details {
    background-color: transparent;
    width: 100%;
    font-size: 1em;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table.details tr {
    vertical-align: text-bottom;
    border-bottom: 1px solid #eee;
}

table.details td {
    padding: 11px 7px;
}

table.details td.label {
    color: #079;
    font-weight: bold;
    width: 33%;
    min-width: 150px;
    font-size: 14px;
}

table.details td.data {
    width: 66%;
}

table.details td.status {
    min-width: 48px;
}

table.details input {
    width: 100%;
}

table.details tr.semiHighlighted {
    background-color: #ddd;
    font-weight: bold;
}

table.details tr.semiHighlighted td.data {
    color: #888;
    text-shadow: 1px 1px 0px #eee;
}

table.details tr.highlighted {
    background-color: white;
    font-weight: bold;
}

/* Survey tables */
.survey-intro {
    font-size: 16px;
}

table.survey {
    width: 100%;
}

table.survey tr {
    background: #fff;
    border-bottom: 1px solid #eee;
}

table.survey .response textarea,
table.survey .response input[type=text],
table.survey .response select {
    width: 100%;
}

table.survey .question {
    font-size: 15px;
    font-weight: 500;
}

table.survey td {
    padding: 10px 15px;
}

.survey-table-row {
    cursor: pointer;
}

.survey-table-row-unopened {
    font-weight: bold;
}


/* ============================================
   JUMBOTRON / PAGE HEADERS
   ============================================ */

.jumbotron {
    margin-bottom: 30px;
    padding: 16px 0 12px 8px;
    color: #111;
    border-radius: 0;
}

.jumbotron h1 {
    font-size: 26px;
    font-weight: bold;
}


/* ============================================
   LOADING & MODAL STATES
   ============================================ */

.modal {
    position: absolute;
}

.modal-loading {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    background-image: url("../images/loading.gif");
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 99;
}


/* ============================================
   COOKIE CONFIRMATION DIALOG
   ============================================ */

#cookieConfirmationDialog {
    background: #333;
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding-top: 7px;
    padding-bottom: 7px;
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 99;
}

#cookieConfirmationDialog a {
    color: #fff;
    text-decoration: underline;
}

#cookieConfirmationDialog .dialog-container {
    margin: 0 auto;
    padding: 0 23px;
    position: relative;
}

#cookieConfirmationDialog .dialog-close {
    position: absolute;
    right: 7px;
    border-radius: 6px;
    background: #fff;
    color: #333;
    top: 0;
    width: 23px;
    height: 23px;
}


/* ============================================
   SERVICE SELECTION & CARDS
   ============================================ */

.service-box {
    cursor: pointer;
    width: 100%;
    background: #fff;
    font-size: 18px;
    border: 1px solid #b5bfd9;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
    padding: 30px;
}

.service-box:hover {
    border-color: #2260ff;
}

.service-box.cursor-default {
    cursor: default;
}


/* ============================================
   LOCATION & CALENDAR
   ============================================ */

#locationList,
#calendarKey {
    margin-bottom: 30px;
}

#locationList a.locationEntry {
    cursor: pointer;
    display: block;
}

#calendarKey > div {
    padding-top: 10px;
}

#locationDetails {
    margin-bottom: 30px;
}


/* ============================================
   UTILITY CLASSES
   ============================================ */

.autoWidth {
    width: auto;
}

.justify-between {
    display: flex;
    justify-content: space-between;
}


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media screen and (max-width: 768px) {
    #locationDetails {
        margin-top: 20px;
    }

    #logo {
        position: relative;
        top: 0;
        right: 0;
        max-width: 100%;
        height: auto;
        max-height: 60px;
    }

    .jumbotron h1 {
        font-size: 22px;
    }

    #locationList {
        margin-top: 30px;
    }

    table.survey td.response {
        width: 50%;
    }

    #main_header h1 {
        font-size: 18px;
        line-height: normal;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    #main_header > .container > .row {
        align-items: center;
        display: flex;
    }

    .d-sm-none {
        display: none;
    }
}

@media (max-width: 640px) {
    .d-flex .col-sm-6 {
        width: 100%;
        flex: 0 0 auto;
    }
}

@media (max-width: 750px) {
    div.calendarContainer.unpopulated {
        padding-left: 0;
    }
}

.page-title {
    background-color: #d6d7db!important;
}

table.appt-details td.label { width: 40%; }

@media (max-width: 480px) {
    table.appt-details td.label {
        width: 100%;
    }
}
table.appt-details tr { border-top: 1px solid #dddddda3; }
table.appt-details tr:first-child { border-top: none;}
table.appt-details td.data { padding: 7px 5px; }

@media (max-width: 480px) {
    table.appt-details td.data { padding: 0 5px 5px; font-size: 1.125rem; }
}

.toolbar .btn-light+.btn-primary { margin-left: 0.5rem; }

#main_header h1 { font-size: 1.5rem; }
@media (max-width: 480px) {
    #main_header h1 { margin-top: 0; text-align: center; border-top: 1px solid #ddd; padding: 10px 0;}
}


/*
    Flu Xpress Booking Portal 2026 styles
 */
:root {
    --accent: #1583c2;
    --accent-tint: #f1f8fd;
    --accent-shadow: rgba(21, 131, 194, .35);
    --green: #2e9e4f;
    --green-dark: #27893f;
    --ink: #1f2a33;
    --muted: #5b6873;
    --line: #e6ebf1;
    --danger: #d64545;
}
body { background: #eef2f6; color: var(--ink); min-height: 100vh; display: flex; flex-direction: column;}
.container-main { flex: 1; width: 100%; margin: 0 auto; }
#main_header { flex-shrink: 0;  background: #fff; border-bottom: 1px solid #e4e9ef; border-top: 4px solid #1583c2; }
#main_header h1 { font-size: 21px; }
.secondaryLogo { height: 45px!important; }
.page-title { background: transparent!important; }
.page-title .rule { width: 64px; height: 4px; border-radius: 3px; background: var(--accent); margin: 16px auto 0; }
.btn-disabled { background: #e7edf3 !important; color: #a3afba !important; cursor: not-allowed; pointer-events: none; box-shadow: none !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; border-radius: 11px; padding: 14px 30px; border: none;
    cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; letter-spacing: 0; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px var(--accent-shadow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px var(--accent-shadow); color: #fff; background-color: #147cb1 !important;}
.btn-light { background: #fff; color: #243b4a; border: 1px solid #d4dde6; box-shadow: 0 2px 6px rgba(28, 52, 74, .05); }
.btn-light:hover { border-color: #b9c6d2; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(28, 52, 74, .08); color: #243b4a; }
.service-box { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 26px; border-radius: 16px; background: #fff; border: 2px solid #e3e9ef; box-shadow: 0 4px 14px rgba(28, 52, 74, .05); cursor: pointer; user-select: none; transition: box-shadow .15s, transform .15s, border-color .15s; height: 100%; }
.service-box:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28, 52, 74, .1); border: 2px solid #e3e9ef; }
.service-box.is-selected { border-color: var(--accent); background: var(--accent-tint); box-shadow: 0 12px 30px var(--accent-shadow); }
.service-box .service-description { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.service-box > a.service { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 14.5px; color: #9aa7b2; text-decoration: none; padding-left: 38px; }
.service-box > a.service > div { font-weight: 500; font-size: 14.5px; color: #9aa7b2; }
.service-box.is-selected .service-selection-status { color: var(--accent); }
.service-box .service-box-inner { display: flex; align-items: flex-start; gap: 14px; }
.service-box .radio { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #c2ccd6; box-sizing: border-box; background: #fff; margin-top: 2px; transition: border .15s; }
.service-box.is-selected .radio { border: 7px solid var(--accent); }
.footer { flex-shrink: 0; background: #fff; border-top: 1px solid #e4e9ef; padding: 0; }
.footer .container { padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: #7a8794; }
.footer a { color: var(--accent); font-weight: 600; text-decoration: none; }
.error-page-inner { padding-top: 0!important; }
.error-page-inner p { max-width: 560px; font-size: 17.5px; line-height: 1.6; color: var(--muted); }
.toolbar { display: flex; justify-content: center; }
.booking-chooseTime .toolbar { display: block; }
.calendar-toggle-action { border: 1.5px solid #f2dd8a; }
#locationDetails { box-shadow: rgba(28, 52, 74, 0.07) 0px 14px 40px; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 16px; align-self: start; padding: 24px 26px 26px; }
.service-box-with-delivery { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; border-radius: 14px; background: #fff; border: 2px solid #e3e9ef; box-shadow: 0 4px 14px rgba(28, 52, 74, .05);
    transition: border-color .12s, background .12s, box-shadow .12s; }
.service-box-with-delivery .service-box-option-wrap { display:flex; font-weight: 600; font-size: 18px; color: #1b2b38; }
.service-box-with-delivery.is-selected { border-color: var(--accent); background: var(--accent-tint); box-shadow: 0 10px 26px var(--accent-shadow); }
.service-box-with-delivery .vx-select { appearance: none; -webkit-appearance: none; font-family: 'Source Sans 3', sans-serif; font-size: 15.5px; font-weight: 500; color: #27333d; background: #fff; border: 1.5px solid #d4dde6; border-radius: 9px; padding: 11px 40px 11px 14px; min-width: 158px; cursor: pointer; outline: none; }
.white-card { background: #fff!important; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px rgba(28, 52, 74, .07); }
.booking-intro-wrapper { max-height: 340px; overflow-y: auto; padding: 34px 38px; font-size: 16px; line-height: 1.7; color: #41505c; }
.booking-intro-form { border-top: 1px solid #eef2f6; padding: 24px 38px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.booking-intro-form label { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 16px; color: #243b4a; }
.custom-checkbox { display: flex; align-items: flex-start; gap: 13px; text-align: left; background: transparent; border: none; padding: 0; cursor: pointer; }
.custom-checkbox.is-selected .box,
.custom-checkbox.is-checked .box { background: var(--accent); border-color: var(--accent); }
.custom-checkbox .box { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: #fff; border: 1.5px solid #c2ccd6; display: flex; align-items: center; justify-content: center; margin-top: 1px; transition: background .15s, border .15s; }
.custom-checkbox .box svg { opacity: 0; stroke: #fff; }
.custom-checkbox.is-selected .box svg,
.custom-checkbox.is-checked .box svg { opacity: 1; }
.custom-checkbox.boxed { background: #f4f8fc; border: 1.5px solid #e1ecf6; border-radius: 12px; padding: 16px 18px; transition: border-color .15s; }
div.calendarSlotContainer.day > div.calendarPeriod { border-radius: 9px; padding: 11px 17px; font-weight: 600; font-size: 15px; background: var(--green)!important; border: 1.5px solid var(--green); margin: 0px 11px 10px 0px; width: auto; cursor: pointer; box-shadow: 0 2px 5px rgba(46, 158, 79, .28); transition: border-color .12s, background .12s, box-shadow .12s, transform .12s; }
div.calendarSlotContainer.day > div.calendarPeriod.highlighted { color: #fff; background: var(--accent)!important; border-color: var(--accent); box-shadow: 0 8px 18px var(--accent-shadow); padding: 11px 17px!important; }
div.calendarSlotContainer.day > div.calendarPeriod:hover { background: var(--green-dark)!important; border-color: var(--green-dark)!important; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(46, 158, 79, .34); }
table.appt-details td.label { padding: 18px 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.contactAddressConfirm { display: flex; align-items: center; gap: 12px; background: #f4f8fc!important; border: 1px solid #d8e6f3!important; border-radius: 12px; padding: 18px 20px; font-size: 18px; font-weight: 600; }
.booking-confirm .toolbar form { display: flex; width: 100%; }
.booking-confirm .toolbar .btn-primary { width: auto!important; flex-grow: 1; }
@media (max-width: 480px) {
    .booking-confirm .toolbar .btn { padding: 14px 15px; font-size: 15px; }
    div.toolbar.toolbar-confirm { padding: 20px 10px; }
}
table.appt-details td.label { padding: 21px 0 18px; }
table.appt-details td.data { padding: 18px 0; }
@media (max-width: 480px) {
    table.appt-details td.label { padding: 18px 0 6px; }
    table.appt-details td.data { padding: 0 0 7px; }
}
.iconcircle { width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.iconcircle.tone-warning { background: #fef4e6; }
.text-muted { color: var(--muted)!important; }
input.form-control[type=text],
input.form-control[type=email] { width: 100%; font-size: 16.5px; color: var(--ink); background: #f7fafd; border: 1.5px solid #dde5ed; border-radius: 10px; padding: 14px 16px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.confirmed-appointment-date-time { padding: 22px 12px; background: #f4f8fc; margin: 0; border: 1px solid #e1ecf6; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.confirmed-appointment-date-time .col-md-2 { width: 100%; }
.confirmed-appointment-date-time .col-md-7 { font-size: 24px; font-weight: 600; }
.confirmed-appointment-date-time .col-md-3 { width: auto; }
@media (max-width: 480px) {
    .confirmed-appointment-date-time { padding: 15px 12px 21px!important; }
    .confirmed-appointment-date-time .col-md-7 { margin-bottom: 10px; font-size: 20px; }
}
.booking-details { background: transparent!important; background: none!important; padding: 0!important; border: none!important; }
.booking-details .row { border-bottom: 1px solid #dde5ed; padding-bottom: 1rem; margin-bottom: 1rem; }
.booking-details .row:last-child { border-bottom: none; padding-bottom: 0; }
.booking-details label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.booking-end .white-card { padding: 1.5rem 2.25rem!important; margin-bottom: 30px; }
.booking-end .white-card h3 { font-size: 150%; font-weight: 700; }
.booking-end .container-main > .container { max-width: 760px;}
.booking-end .container-main > .container > p { text-align: center; color: var(--muted); margin-bottom: 30px; }
@media (max-width: 480px) {
    .booking-end .white-card { padding: 1.5rem 1.5rem!important; margin-top: 30px; }
}

