/* ==========================================================================
   gbscourses-front.css
   Stili front-office modulo gbscourses
   Dipende da Bootstrap 4 (già presente nel tema PS 1.7 Classic)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Card corso — grid responsiva
   -------------------------------------------------------------------------- */
.gbs-courses-grid .row {
    display: flex;
    flex-wrap: wrap;
}

.gbs-course-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: box-shadow 0.2s ease-in-out;
    overflow: hidden;
}

.gbs-course-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gbs-course-card-img-wrap {
    height: 180px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.gbs-course-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gbs-course-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.gbs-course-location {
    font-size: 0.85rem;
}

.gbs-course-excerpt {
    font-size: 0.88rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gbs-course-price {
    font-size: 1.1rem;
    color: #333;
}

.gbs-btn-detail {
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Badge disponibilità
   -------------------------------------------------------------------------- */
.gbs-badge-available {
    background-color: #28a745;
    color: var(--white, #fff);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
}

.gbs-badge-few {
    background-color: #fd7e14;
    color: var(--white, #fff);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
}

.gbs-badge-exhausted {
    background-color: #dc3545;
    color: var(--white, #fff);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   Toggle vista lista/calendario
   -------------------------------------------------------------------------- */
.gbs-view-toggle {
    display: flex;
    justify-content: flex-end;
}

.gbs-view-toggle .btn-group .btn {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   Calendario FullCalendar
   -------------------------------------------------------------------------- */
.gbs-calendar-wrapper {
    padding: 8px 0;
}

.gbs-fullcalendar {
    min-height: 500px;
}

.gbs-fullcalendar .fc-event {
    cursor: pointer;
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Scheda dettaglio corso
   -------------------------------------------------------------------------- */
.gbs-detail-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gbs-detail-meta {
    font-size: 0.9rem;
}

.gbs-icon-sm {
    font-size: 1rem;
    vertical-align: middle;
    line-height: 1;
    color: var(--black, #000000);
}

.gbs-detail-tabs .nav-link {
    color: #555;
    font-size: 0.92rem;
}

.gbs-detail-tabs .nav-link.active {
    font-weight: 600;
}

.gbs-tab-content {
    padding: 16px 0;
}

/* --------------------------------------------------------------------------
   Lista sessioni (radio buttons)
   -------------------------------------------------------------------------- */
.gbs-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gbs-session-item {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0;
    transition: border-color 0.15s;
}

.gbs-session-item:not(.gbs-session-exhausted):hover {
    border-color: #007bff;
}

.gbs-session-exhausted {
    opacity: 0.6;
    background-color: #f8f8f8;
}

.gbs-session-label {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin: 0;
    cursor: pointer;
}

.gbs-session-exhausted .gbs-session-label {
    cursor: not-allowed;
}

.gbs-session-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Selected state via :has() */
.gbs-session-item:has(input[type="radio"]:checked) {
    border-color: #007bff;
    border-left: 4px solid #007bff;
    background-color: #f0f7ff;
}

/* JS fallback class */
.gbs-session-item.gbs-session-selected {
    border-color: #007bff;
    border-left: 4px solid #007bff;
    background-color: #f0f7ff;
}

.gbs-session-item:not(.gbs-session-exhausted):not(.gbs-session-selected):not(:has(input:checked)):hover {
    border-color: #adb5bd;
    background-color: #fafafa;
}

.gbs-session-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.gbs-session-price {
    margin-left: auto;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Box acquisto laterale
   -------------------------------------------------------------------------- */
.gbs-purchase-box {
    border:0;
    border-radius: var(--radius, 20px);
}

.gbs-purchase-box .card-body {
    padding: 1.25rem;
    text-align: left !important;
}

.gbs-purchase-box label,
.gbs-purchase-box .gbs-client-label,
.gbs-purchase-box .gbs-qty-label {
    text-align: left !important;
}

.gbs-price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black, #212529);
    line-height: 1.2;
}

.gbs-price-label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Session summary nel box acquisto
   -------------------------------------------------------------------------- */
.gbs-session-summary {
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.gbs-session-date-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black, #212529);
    line-height: 1.4;
    margin-top: 2px;
}

.gbs-session-date-value .gbs-no-session {
    font-size: 0.88rem;
    font-weight: 400;
    color: #868e96;
}

/* --------------------------------------------------------------------------
   Selettore qty +/-
   -------------------------------------------------------------------------- */
.gbs-qty-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    max-width: 160px;
}

.gbs-qty-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gbs-qty-btn .material-icons {
    font-size: 1.1rem;
    color: var(--black, #000000);
}

.gbs-qty-input {
    width: 60px;
    min-width: 60px;
    flex-shrink: 0;
    text-align: center;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Sezione P.IVA — transizione show/hide
   -------------------------------------------------------------------------- */
#gbs-vat-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 14px;
    padding-bottom: 4px;
}

.gbs-vat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.gbs-piva-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.gbs-piva-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    outline: none;
}

.gbs-piva-input:focus {
    border-color: var(--gbs-accent, #b8a98a);
    box-shadow: 0 0 0 2px rgba(184,169,138,0.2);
}

.gbs-piva-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
    background: var(--gbs-accent, #b8a98a);
    color: var(--white, #fff);
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.gbs-piva-btn:hover {
    background: var(--gbs-accent, #a0937a);
    filter: brightness(0.92);
}

.gbs-vat-result {
    font-size: 0.85rem;
    line-height: 1.4;
    min-height: 1.2rem;
}

.gbs-vat-result .spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   CTA Aggiungi al carrello
   -------------------------------------------------------------------------- */
.gbs-btn-addcart {
    font-size: 1rem;
    font-weight: 600;
    padding: 12px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 575px) {
    .gbs-course-card-img-wrap {
        height: 140px;
    }

    .gbs-detail-title {
        font-size: 1.3rem;
    }

    .gbs-price-value {
        font-size: 1.5rem;
    }

    .gbs-session-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .gbs-session-price {
        margin-left: 0;
    }
}

/* --------------------------------------------------------------------------
   Custom properties — palette corso
   -------------------------------------------------------------------------- */
:root {
    /* Derivate dalle var del tema (single source of truth); hex = fallback */
    --gbs-accent:      var(--accent-color, #c9a87a);
    --gbs-accent-bg:   var(--bg-btn-type-2, #f5f0e8);
    --gbs-accent-text: var(--text-color, #3a2a1a);
}

/* --------------------------------------------------------------------------
   Layout 2 colonne: immagine | contenuto+box
   -------------------------------------------------------------------------- */
.gbs-course-main {
    align-items: flex-start;
    margin-bottom: 32px;
}

.gbs-course-image-col {
    margin-bottom: 24px;
}

.gbs-course-main-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.gbs-course-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 12px;
}

.gbs-course-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color, #1a1a1a);
    line-height: 1.2;
}

.gbs-course-intro {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Date picker — label + pills orizzontali
   -------------------------------------------------------------------------- */
.gbs-date-picker {
    margin-bottom: 14px;
}

.gbs-date-picker-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gbs-date-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.gbs-date-pill {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px;
    border: 1.5px solid #e0d8cc;
    border-radius: 8px;
    background: var(--white, #fff);
    cursor: pointer;
    min-width: 52px;
    text-align: center;
    line-height: 1.2;
    transition: border-color 0.15s, background 0.15s;
    font-family: inherit;
}

.gbs-date-pill:hover:not([disabled]) {
    border-color: var(--gbs-accent, #c9a87a);
}

.gbs-date-pill--selected {
    border-color: var(--gbs-accent, #c9a87a);
    background: var(--gbs-accent-bg, #fdf8f2);
}

.gbs-date-pill--exhausted {
    opacity: 0.55;
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
}

.gbs-date-pill--exhausted .gbs-pill-day,
.gbs-date-pill--exhausted .gbs-pill-month,
.gbs-date-pill--exhausted .gbs-pill-year,
.gbs-date-pill--exhausted .gbs-pill-time {
    text-decoration: none;
}

.gbs-date-pill--exhausted::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom right,
        transparent calc(50% - 0.75px),
        #aaa 50%,
        transparent calc(50% + 0.75px)
    );
    pointer-events: none;
}

/* Sessione non acquistabile per prossimità della data (blocco a X giorni). */
.gbs-pill-closed-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #b23b3b;
    white-space: nowrap;
}

.gbs-pill-day {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color, #1a1a1a);
}

.gbs-pill-month {
    font-size: 0.72rem;
    color: #666;
    text-transform: uppercase;
}

.gbs-pill-year {
    font-size: 0.62rem;
    color: #aaa;
}

.gbs-pill-time {
    font-size: 0.6rem;
    color: var(--gbs-accent, #c9a87a);
    margin-top: 3px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Location row
   -------------------------------------------------------------------------- */
.gbs-box-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #555;
    background: var(--gbs-accent-bg, #f8f5f0);
    border-radius: 6px;
    padding: 7px 10px;
    margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Box actions: qty + CTA affiancati
   -------------------------------------------------------------------------- */
.gbs-box-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.gbs-qty-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    border: 1.5px solid #e0d8cc;
    border-radius: 8px;
    padding: 6px 10px;
    background-color: var(--gbs-accent-bg, #f8f5f0);
}

.gbs-qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--text-color, #1a1a1a);
    display: flex;
    align-items: center;
    line-height: 1;
}

.gbs-qty-btn .material-icons {
    font-size: 18px;
}

.gbs-qty-value {
    font-size: 1rem;
    font-weight: 600;
    min-width: 22px;
    text-align: center;
    display: inline-block;
}

.gbs-btn-addcart {
    flex: 1;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.82rem;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Info box secondario (Durata | Livello | Certicato + nota)
   -------------------------------------------------------------------------- */
.gbs-info-box {
    margin-top: 12px;
    border: 0;
    padding: 16px 10px;
    background: rgb(255 255 255 / 50%) 0% 0% no-repeat padding-box;
    border-radius: 18px;
}

.gbs-info-box-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #555;
}

.gbs-info-box-row strong {
    color: var(--text-color, #1a1a1a);
}

.gbs-info-box-note {
    font-size: 0.76rem;
    color: var(--black, #000);
    margin: 12px 0 0;
    padding: 0 14px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Below fold: descrizione + partecipanti
   -------------------------------------------------------------------------- */
.gbs-course-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.gbs-section-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color, #1a1a1a);
    margin-bottom: 14px;
}

.gbs-participation-info {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .gbs-course-img-placeholder { aspect-ratio: 16 / 9; }
    .gbs-course-title { font-size: 1.5rem; }
    .gbs-box-actions { flex-wrap: wrap; }
    .gbs-btn-addcart { flex: 1 1 100%; }
}

@media (max-width: 575px) {
    .gbs-course-title { font-size: 1.25rem; }
    .gbs-date-pill { min-width: 46px; padding: 8px 7px; }
    .gbs-pill-day { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Cart corsi — layout wrapper
   -------------------------------------------------------------------------- */
.gbs-cart-sessions {
    background-color: var(--white, #ffffff);
}

.gbs-cart-session-row {
    align-items: stretch;
}
.card.gbs-cart-courses-container {
    background-color: var(--white, #fff);
    border-radius: 0;
    border: 0;
}

.gbs-cart-courses-container .card-block {
    background-color: var(--bg-btn-type-3, #f8f5f0) !important;
    border: 0;
    padding: 15px 0;
}
.gbs-cart-courses-container .product-line-grid-left img {
    max-width: 100%;
    display: block;
    padding: 1rem;
}

.gbs-cart-courses-container .gbs-cart-session-row .product-line-grid-body {
    display: flex !important;
    align-items: center !important;
    padding: 2.5rem 1rem;
}

/* Category label (es. "Accademia Vergnano") */
.gbs-session-category-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 2px;
}

/* Date badge inline accanto al nome */
.gbs-session-date-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    background: var(--gbs-accent-bg, #f0ede8);
    border-radius: 10px;
    padding: 2px 8px;
    margin-left: 6px;
    vertical-align: middle;
    white-space: nowrap;
}

.gbs-session-company {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}
.gbs-session-company .material-icons {
    font-size: 10px;
    vertical-align: middle;
    color: #aaa;
}

/* Cart — riga interna flex */
.gbs-cart-row-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.gbs-cart-info {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 55%;
}

.gbs-cart-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.gbs-cart-title-line .label {
    display: inline;
    white-space: normal;
}

.gbs-cart-controls {
    display: flex;
    align-items: center;
    gap: 80px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .gbs-cart-row-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .gbs-cart-controls {
        gap: 20px;
    }
    .gbs-cart-info {
        max-width: 100%;
    }
}

/* Qty widget */
.gbs-cart-controls .gbs-cs-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: var(--white, #fff);
}

.gbs-cs-btn {
    background: var(--white, #fff);
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    line-height: 1;
    color: #444;
    transition: background 0.12s;
    display: flex;
    align-items: center;
}
.gbs-cs-btn:hover { background: #f5f5f5; }
.gbs-cs-btn .material-icons { font-size: 14px; }

.gbs-cs-qty {
    min-width: 28px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-color, #1a1a1a);
    padding: 4px 2px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    display: inline-block;
}

/* Remove button */
.gbs-cs-remove {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    color: #aaa;
    transition: color 0.15s;
}
.gbs-cs-remove:hover { color: #333; }
.gbs-cs-remove .material-icons { font-size: 16px; }

.add-to-cart-product-box .description-short { display: block !important; }

.product-container #thumb-gallery { display: none !important; }

.product-container .product-cover {
    min-height: 300px;
    background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 4px;
}
.product-container .product-cover img[src=""],
.product-container .product-cover img:not([src]) {
    display: none;
}

/* --------------------------------------------------------------------------
   Header box corso: titolo/categoria + prezzo + toggle IVA
   -------------------------------------------------------------------------- */
.gbs-box-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.gbs-box-header-info {
    min-width: 0;
}
.gbs-box-course-title {
    display: block;
    margin: 0 0 5px;
    font-size: 1rem;
    line-height: 1.2;
}
.gbs-box-course-category {
    display: block;
    font-size: 14px;
    font-weight: normal;
}
.gbs-box-header-price {
    text-align: right;
    flex-shrink: 0;
}
.gbs-price-display {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color, #010101);
    white-space: nowrap;
}
.gbs-vat-toggle {
    display: inline-flex;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--lightgrey, #f3f3f3);
    padding: 2px;
}
.gbs-vat-toggle-btn {
    border: none;
    background: var(--gbs-accent-bg, #f5f0e8);
    padding: 4px 12px;
    font-size: 0.8rem;
    line-height: 1.4;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}
.gbs-vat-toggle-btn--active {
    background: var(--bg-btn-type-1);
}

@media (max-width: 575.98px) {
    .gbs-box-header { flex-direction: column; }
    .gbs-box-header-price { text-align: left; }
}

/* Su pagina corso titolo/categoria/prezzo sono nel box: nascondi il blocco APB del tema */
#product .flex.info-e-prezzo-prodotto,
.product-container .product-detail-name {
    display: none !important;
}

/* ============================================================
   Order detail — tabella corsi (hook displayOrderDetail)
   ============================================================ */
.gbs-order-courses {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.gbs-order-courses-table {
    margin-bottom: 0;
}
.gbs-order-courses-table thead th {
    background-color: #f5f5f5;
    color: #555;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
}
.gbs-order-courses-table .gbs-course-head-row td {
    background-color: #fafafa;
    border-top: 2px solid #e0e0e0;
    color: #212529;
    font-size: 1.05em;
}
.gbs-order-courses-table .gbs-course-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    font-weight: 400;
    color: #868e96;
    font-size: .9em;
}
.gbs-order-courses-table .gbs-course-session-row .gbs-session-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
}
.gbs-order-courses-table .gbs-session-time {
    display: block;
    color: #868e96;
    font-size: .85em;
}
.gbs-order-courses-table .gbs-course-subtotal-row td {
    border-top: 1px dashed #e0e0e0;
    background-color: #fcfcfc;
    color: #555;
    font-weight: 600;
}
.gbs-order-courses-table tfoot .gbs-order-total-row td {
    background-color: #f5f5f5;
    font-weight: 700;
    font-size: 1.1em;
    color: #212529;
    border-top: 2px solid #e0e0e0;
}

/* Badge tipo cliente */
.gbs-client-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: .8em;
    font-weight: 600;
    line-height: 1.5;
}
.gbs-badge-private {
    background-color: #f0f7ff;
    color: #007bff;
    border: 1px solid #cfe2ff;
}
.gbs-badge-horeca {
    background-color: #fff4e5;
    color: #fd7e14;
    border: 1px solid #ffe0bd;
}
.gbs-session-company-info {
    margin-top: 4px;
    color: #555;
    font-size: .85em;
}
.gbs-session-discount {
    margin-top: 4px;
    color: #28a745;
    font-size: .85em;
    font-weight: 600;
}
.gbs-course-session-row.gbs-is-horeca {
    background-color: #fffdf9;
}

/* Mobile cards */
.gbs-order-courses-mobile {
    padding: 8px;
}
.gbs-order-course-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}
.gbs-order-course-card-head {
    background-color: #fafafa;
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
    color: #212529;
}
.gbs-order-course-card-head .gbs-course-location {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: #868e96;
    font-size: .85em;
}
.gbs-order-session-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.gbs-order-session-item.gbs-is-horeca {
    background-color: #fffdf9;
}
.gbs-order-session-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
    font-size: .9em;
}
.gbs-order-session-row .gbs-os-label {
    color: #868e96;
    flex-shrink: 0;
}
.gbs-order-session-row.gbs-os-total {
    font-weight: 600;
    color: #212529;
    border-top: 1px dashed #e0e0e0;
    margin-top: 4px;
    padding-top: 6px;
}
.gbs-order-session-row.gbs-os-subtotal {
    padding: 8px 12px;
    background-color: #fcfcfc;
    font-weight: 600;
    border-top: 1px dashed #e0e0e0;
}
.gbs-order-session-row.gbs-os-grandtotal {
    padding: 12px;
    background-color: #f5f5f5;
    font-weight: 700;
    font-size: 1.05em;
    border-radius: 4px;
}
