/* ============================================================
   Midlands Coaches WHMCS — main website alignment layer
   Mirrors /assets/css/style.css without importing its global reset into WHMCS.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --mc-bg: #050d1a;
    --mc-bg-2: #091524;
    --mc-card: rgba(255,255,255,.032);
    --mc-card-hover: rgba(255,255,255,.052);
    --mc-border: rgba(255,255,255,.08);
    --mc-border-hover: rgba(74,222,128,.28);
    --mc-green: #4ade80;
    --mc-green-dark: #16a34a;
    --mc-green-mid: #22c55e;
    --mc-green-bg: rgba(74,222,128,.08);
    --mc-text: #f1f5f9;
    --mc-muted: rgba(238,242,255,.52);
    --mc-dim: rgba(238,242,255,.32);
    --mc-gold: #f59e0b;
    --mc-radius: 14px;
    --mc-shadow: 0 8px 40px rgba(0,0,0,.45);

    /* Remap both the custom layer and Twenty-One's own colour tokens. */
    --mc-ink: var(--mc-text);
    --mc-green-2: var(--mc-green-mid);
    --mc-mint: var(--mc-green-bg);
    --mc-lime: var(--mc-green);
    --mc-cream: var(--mc-bg);
    --mc-paper: var(--mc-card);
    --mc-white: var(--mc-text);
    --mc-line: var(--mc-border);
    --mc-soft: rgba(255,255,255,.055);
    --primary: var(--mc-green-dark);
    --primary-lifted: var(--mc-green-mid);
    --primary-accented: var(--mc-green);
    --text: var(--mc-text);
    --text-lifted: var(--mc-muted);
    --text-muted: var(--mc-dim);
    --border: var(--mc-border);
    --bg: var(--mc-bg);
    --bg-muted: var(--mc-bg-2);
    --bg-lifted: var(--mc-card);
    --bg-accented: rgba(255,255,255,.06);
}

html { background: var(--mc-bg) !important; color-scheme: dark; }
body.mc-whmcs {
    background: var(--mc-bg) !important;
    color: var(--mc-text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
body.mc-whmcs::before,
body.mc-whmcs::after {
    position: fixed;
    z-index: 0;
    display: block !important;
    border-radius: 50%;
    content: '';
    filter: blur(90px);
    pointer-events: none;
}
body.mc-whmcs::before {
    top: -260px;
    right: -130px;
    width: 700px;
    height: 700px;
    background: rgba(34,197,94,.065);
}
body.mc-whmcs::after {
    bottom: -240px;
    left: -100px;
    width: 520px;
    height: 520px;
    background: rgba(74,222,128,.035);
}
body.mc-whmcs > * { position: relative; z-index: 1; }
body.mc-whmcs a { color: var(--mc-green); }
body.mc-whmcs a:hover { color: #86efac; }
body.mc-whmcs h1,
body.mc-whmcs h2,
body.mc-whmcs h3,
body.mc-whmcs h4,
body.mc-whmcs h5,
body.mc-whmcs h6 {
    color: var(--mc-text) !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 800;
    letter-spacing: -.04em;
}
body.mc-whmcs p { color: var(--mc-muted); }
.mc-skip-link {
    position: fixed !important;
    top: -100px !important;
    left: 16px !important;
    z-index: 9999 !important;
    transform: none !important;
    transition: top .15s ease;
}
.mc-skip-link:focus,
.mc-skip-link:focus-visible {
    top: 12px !important;
    outline: 3px solid var(--mc-green);
    outline-offset: 3px;
}
.mc-eyebrow {
    color: var(--mc-green) !important;
    font-size: 11px;
    letter-spacing: .1em;
}

/* Buttons match the main site's pill-shaped green gradient. */
body.mc-whmcs .btn {
    border-radius: 999px !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 700 !important;
}
body.mc-whmcs .btn-primary,
body.mc-whmcs .btn-success,
body.mc-whmcs .btn-active-client {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--mc-green-dark), var(--mc-green-mid)) !important;
    color: #fff !important;
}
body.mc-whmcs .btn-primary:hover,
body.mc-whmcs .btn-success:hover {
    filter: brightness(1.1);
    box-shadow: 0 14px 36px rgba(22,163,74,.30);
    transform: translateY(-2px);
}
body.mc-whmcs .btn-default,
body.mc-whmcs .btn-secondary,
body.mc-whmcs .btn-outline-secondary,
body.mc-whmcs .btn-light {
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.06) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs .btn-default:hover,
body.mc-whmcs .btn-secondary:hover,
body.mc-whmcs .btn-light:hover { background: rgba(255,255,255,.11) !important; }
body.mc-whmcs .btn-outline-primary {
    border-color: var(--mc-green) !important;
    background: transparent !important;
    color: var(--mc-green) !important;
}
body.mc-whmcs .btn-outline-primary:hover { background: var(--mc-green) !important; color: #050d1a !important; }

/* Header — same height, blur, logo and spacing as the main site. */
.mc-header {
    position: sticky !important;
    top: 0;
    z-index: 1000 !important;
    border-bottom: 1px solid var(--mc-border) !important;
    background: rgba(5,13,26,.97) !important;
    backdrop-filter: blur(14px);
}
.mc-header .mc-navbar {
    min-height: 64px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    backdrop-filter: none;
}
.mc-navbar > .container { min-height: 64px; }
.mc-brand { gap: 10px; color: var(--mc-text) !important; font-size: 15px; font-weight: 800; letter-spacing: -.035em; }
.mc-brand-mark {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--mc-green-dark), var(--mc-green-mid));
}
.mc-brand-mark::before,
.mc-brand-mark > span,
.mc-brand-mark > i { display: none !important; }
.mc-brand-mark svg { width: 20px; height: 20px; }
.mc-brand-type { display: inline !important; color: var(--mc-text); font-size: 15px; line-height: 1; }
.mc-brand-type b { margin-left: 0; color: var(--mc-green); }
.mc-brand-type strong,
.mc-brand-type small { display: inline; color: inherit; font: inherit; letter-spacing: inherit; }
.mc-primary-nav { gap: 4px; }
.mc-primary-nav .nav-link {
    padding: 10px 13px !important;
    color: var(--mc-muted) !important;
    font-size: 13.5px;
    font-weight: 500;
}
.mc-primary-nav .nav-link:hover,
.mc-primary-nav .nav-link.active { color: var(--mc-text) !important; }
.mc-primary-nav .nav-link.active::after { background: var(--mc-green); }
.mc-navbar .navbar-toggler {
    border-color: var(--mc-border);
    background: rgba(255,255,255,.04);
    color: var(--mc-text);
}
.mc-nav-actions { margin-left: 10px; }
.mc-cart-link,
.mc-account-button {
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.06) !important;
    color: var(--mc-text) !important;
}
.mc-cart-link:hover,
.mc-account-button:hover { background: rgba(255,255,255,.11) !important; }
.mc-cart-link span { border-color: var(--mc-bg); background: var(--mc-green-dark); }
.mc-account-avatar { background: rgba(74,222,128,.11); color: var(--mc-green); }
.mc-account-menu .dropdown-menu {
    border-color: var(--mc-border);
    background: var(--mc-bg-2);
    box-shadow: 0 24px 64px rgba(0,0,0,.55);
}
.mc-account-menu .dropdown-item { color: var(--mc-muted) !important; }
.mc-account-menu .dropdown-item:hover { background: var(--mc-green-bg); color: var(--mc-green) !important; }
.mc-account-menu .dropdown-divider { border-color: var(--mc-border); }
.mc-alert-bar { border-color: rgba(74,222,128,.15); background: rgba(74,222,128,.07); }
.mc-alert-button { color: var(--mc-green); }
.mc-breadcrumb { border-color: var(--mc-border) !important; background: rgba(9,21,36,.75) !important; }
.mc-breadcrumb .breadcrumb-item,
.mc-breadcrumb .breadcrumb-item.active { color: var(--mc-dim) !important; }
.mc-breadcrumb a { color: var(--mc-muted) !important; }

/* Generic WHMCS pages. */
.mc-main-body { background: transparent; }
.mc-whmcs .card,
.mc-whmcs .panel,
.mc-whmcs .well,
.mc-whmcs .invoice-container,
.mc-whmcs .invoice-content,
.mc-whmcs .table-container,
.mc-whmcs .pricing-table {
    border: 1px solid var(--mc-border) !important;
    border-radius: var(--mc-radius) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
    box-shadow: none;
    backdrop-filter: blur(12px);
}
.mc-whmcs .card:hover { border-color: rgba(255,255,255,.14) !important; }
.mc-whmcs .card-header,
.mc-whmcs .panel-heading,
.mc-whmcs .list-group-item.header {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.022) !important;
    color: var(--mc-text) !important;
}
.mc-whmcs .card-footer,
.mc-whmcs .panel-footer { border-color: var(--mc-border) !important; background: rgba(255,255,255,.018) !important; }
.mc-whmcs .list-group-item {
    border-color: var(--mc-border) !important;
    background: transparent !important;
    color: var(--mc-muted) !important;
}
.mc-whmcs .list-group-item:hover { background: rgba(255,255,255,.04) !important; color: var(--mc-text) !important; }
.mc-whmcs .list-group-item.active { border-color: rgba(74,222,128,.25) !important; background: var(--mc-green-bg) !important; color: var(--mc-green) !important; }
.mc-whmcs .sidebar .card { box-shadow: none; }
.mc-whmcs .sidebar .card-header i { color: var(--mc-green); }
.mc-whmcs .form-control,
.mc-whmcs select.form-control,
.mc-whmcs textarea.form-control,
.mc-whmcs input[type="text"],
.mc-whmcs input[type="email"],
.mc-whmcs input[type="password"],
.mc-whmcs input[type="number"],
.mc-whmcs input[type="tel"] {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.045) !important;
    color: var(--mc-text) !important;
}
.mc-whmcs .form-control::placeholder { color: var(--mc-dim) !important; }
.mc-whmcs .form-control:focus {
    border-color: var(--mc-green) !important;
    background: rgba(255,255,255,.055) !important;
    box-shadow: 0 0 0 3px rgba(74,222,128,.12) !important;
}
.mc-whmcs select option { background: var(--mc-bg-2); color: var(--mc-text); }
.mc-whmcs .input-group-text { border-color: var(--mc-border) !important; background: rgba(255,255,255,.055) !important; color: var(--mc-green) !important; }
.mc-whmcs label { color: var(--mc-muted) !important; }
.mc-whmcs .table { color: var(--mc-text) !important; }
.mc-whmcs .table th { border-color: var(--mc-border) !important; color: var(--mc-dim) !important; }
.mc-whmcs .table td { border-color: var(--mc-border) !important; color: var(--mc-muted); }
.mc-whmcs .table strong,
.mc-whmcs .table td a { color: var(--mc-text); }
.mc-whmcs .table-hover tbody tr:hover { background: rgba(255,255,255,.025) !important; }
.mc-whmcs .alert-success { border-color: rgba(74,222,128,.25); background: rgba(74,222,128,.10); color: var(--mc-green); }
.mc-whmcs .alert-info { border-color: rgba(59,130,246,.25); background: rgba(59,130,246,.10); color: #60a5fa; }
.mc-whmcs .alert-warning { border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.10); color: var(--mc-gold); }
.mc-whmcs .alert-danger { border-color: rgba(239,68,68,.25); background: rgba(239,68,68,.10); color: #f87171; }

/*
 * Standard-cart fallback.
 * WHMCS can retain an older order-form choice in the visitor's cart session.
 * These higher-specificity rules keep that cart readable until the dedicated
 * Midlands Coaches order form is selected again.
 */
body.mc-whmcs #order-standard_cart {
    color: var(--mc-text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
body.mc-whmcs #order-standard_cart .view-cart-items,
body.mc-whmcs #order-standard_cart .order-summary {
    border: 1px solid var(--mc-border) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
    box-shadow: var(--mc-shadow) !important;
    backdrop-filter: blur(12px);
}
body.mc-whmcs #order-standard_cart .view-cart-items-header,
body.mc-whmcs #order-standard_cart .order-summary h2 {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.04) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-items .item,
body.mc-whmcs #order-standard_cart .view-cart-items .item:nth-child(even) {
    border-color: var(--mc-border) !important;
    background: transparent !important;
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-items .item-title,
body.mc-whmcs #order-standard_cart .view-cart-items .item-price > span:first-child {
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-items .item-group,
body.mc-whmcs #order-standard_cart .view-cart-items .item small,
body.mc-whmcs #order-standard_cart .view-cart-items .item-price .cycle {
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .btn-remove-from-cart { color: var(--mc-dim) !important; }
body.mc-whmcs #order-standard_cart .btn-remove-from-cart:hover { color: #f87171 !important; }
body.mc-whmcs #order-standard_cart .empty-cart .btn {
    border: 1px solid rgba(255,255,255,.12) !important;
    background: var(--mc-bg-2) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .summary-container {
    border-color: var(--mc-border) !important;
    background: transparent !important;
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .order-summary .subtotal,
body.mc-whmcs #order-standard_cart .order-summary .bordered-totals,
body.mc-whmcs #order-standard_cart .order-summary .recurring-totals {
    border-color: var(--mc-border) !important;
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .order-summary #subtotal,
body.mc-whmcs #order-standard_cart .order-summary .recurring-charges .cost {
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .order-summary .recurring-charges { color: var(--mc-muted) !important; }
body.mc-whmcs #order-standard_cart .order-summary .total-due-today {
    border: 1px solid rgba(74,222,128,.16) !important;
    border-radius: 12px;
    background: var(--mc-green-bg) !important;
    color: var(--mc-green) !important;
}
body.mc-whmcs #order-standard_cart .order-summary .total-due-today .amt,
body.mc-whmcs #order-standard_cart .order-summary .total-due-today span {
    color: var(--mc-green) !important;
}
body.mc-whmcs #order-standard_cart .order-summary .btn-continue-shopping { color: var(--mc-green) !important; }
body.mc-whmcs #order-standard_cart .view-cart-tabs .tab-content {
    border: 1px solid var(--mc-border) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-tabs .nav-tabs { border-color: var(--mc-border) !important; }
body.mc-whmcs #order-standard_cart .view-cart-tabs .nav-tabs a {
    border-color: transparent !important;
    background: transparent !important;
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
body.mc-whmcs #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"] {
    border-color: var(--mc-border) var(--mc-border) transparent !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-promotion-code {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.035) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .form-control,
body.mc-whmcs #order-standard_cart input[type="text"],
body.mc-whmcs #order-standard_cart input[type="number"] {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.045) !important;
    color: var(--mc-text) !important;
}

/* Product-list and configuration fallback for standard_cart. */
body.mc-whmcs #order-standard_cart .products .product {
    overflow: hidden;
    border: 1px solid var(--mc-border) !important;
    border-radius: var(--mc-radius) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px);
}
body.mc-whmcs #order-standard_cart .products .product:hover {
    border-color: var(--mc-border-hover) !important;
    background: rgba(74,222,128,.04) !important;
    box-shadow: var(--mc-shadow) !important;
}
body.mc-whmcs #order-standard_cart .products .product header,
body.mc-whmcs #order-standard_cart .products .product div.product-desc,
body.mc-whmcs #order-standard_cart .products .product footer {
    border-color: var(--mc-border) !important;
    background: transparent !important;
}
body.mc-whmcs #order-standard_cart .products .product header,
body.mc-whmcs #order-standard_cart .products .product header span {
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .products .product div.product-desc,
body.mc-whmcs #order-standard_cart .products .product div.product-desc p,
body.mc-whmcs #order-standard_cart .products .product div.product-desc li,
body.mc-whmcs #order-standard_cart .products .product span.feature-value,
body.mc-whmcs #order-standard_cart .products .product div.product-pricing {
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .products .product div.product-pricing span.price {
    color: var(--mc-green) !important;
}
body.mc-whmcs #order-standard_cart .product-info,
body.mc-whmcs #order-standard_cart .field-container,
body.mc-whmcs #order-standard_cart .product-configurable-options {
    border-color: var(--mc-border) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .product-info .product-title {
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .product-info p,
body.mc-whmcs #order-standard_cart .product-configurable-options label {
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .sub-heading {
    border-color: var(--mc-border) !important;
}
body.mc-whmcs #order-standard_cart .sub-heading span {
    border: 1px solid var(--mc-border) !important;
    background: var(--mc-bg-2) !important;
    color: var(--mc-green) !important;
}
body.mc-whmcs #order-standard_cart .irs-line,
body.mc-whmcs #order-standard_cart .irs-bar-edge {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.10) !important;
}
body.mc-whmcs #order-standard_cart .irs-bar {
    border-color: var(--mc-green-dark) !important;
    background: var(--mc-green-dark) !important;
}
body.mc-whmcs #order-standard_cart .irs-slider {
    border-color: var(--mc-green) !important;
    background: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .irs-grid-text,
body.mc-whmcs #order-standard_cart .irs-min,
body.mc-whmcs #order-standard_cart .irs-max {
    color: var(--mc-muted) !important;
}
.mc-whmcs .status { background: rgba(255,255,255,.08); color: var(--mc-muted); }
.mc-whmcs .status-active,
.mc-whmcs .status-paid { background: rgba(74,222,128,.12); color: var(--mc-green); }
.mc-whmcs .status-pending,
.mc-whmcs .status-unpaid { background: rgba(245,158,11,.12); color: var(--mc-gold); }
.mc-whmcs .status-cancelled,
.mc-whmcs .status-terminated,
.mc-whmcs .status-overdue { background: rgba(239,68,68,.12); color: #f87171; }

/* Account dashboard — same hero glow and glass cards as the website. */
.mc-account-hero {
    position: relative;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--mc-border);
    background: transparent;
}
.mc-account-hero::before {
    position: absolute;
    top: -190px;
    right: -80px;
    width: 560px;
    height: 480px;
    border-radius: 50%;
    background: rgba(34,197,94,.08);
    content: '';
    filter: blur(80px);
    pointer-events: none;
}
.mc-account-hero::after { display: none; }
body.mc-whmcs .mc-account-hero h1 { color: var(--mc-text) !important; font-size: clamp(2.2rem,5.5vw,3.6rem); }
.mc-account-hero p:not(.mc-eyebrow) { color: var(--mc-muted); }
body.mc-whmcs .mc-account-hero .btn-primary {
    border-color: transparent !important;
    background: linear-gradient(135deg,var(--mc-green-dark),var(--mc-green-mid)) !important;
    color: #fff !important;
}
.mc-account-stats { gap: 16px; }
.mc-stat-card,
.mc-essential-card,
.mc-trip-card,
.mc-booking-panel,
.mc-product-group-card {
    border-color: var(--mc-border);
    background: var(--mc-card);
    color: var(--mc-text) !important;
    backdrop-filter: blur(12px);
}
.mc-stat-card:hover,
.mc-essential-card:hover,
.mc-trip-card:hover,
.mc-product-group-card:hover {
    border-color: var(--mc-border-hover);
    background: rgba(74,222,128,.04);
    box-shadow: var(--mc-shadow);
}
.mc-stat-primary {
    border-color: rgba(74,222,128,.22);
    background: var(--mc-green-bg);
}
.mc-stat-icon,
.mc-essential-card > span,
.mc-panel-heading > span,
.mc-empty-state > span,
.mc-product-group-card > span {
    border: 1px solid rgba(74,222,128,.16);
    background: rgba(74,222,128,.09);
    color: var(--mc-green);
}
.mc-stat-primary .mc-stat-icon { border-color: rgba(74,222,128,.22); background: rgba(74,222,128,.12); }
.mc-stat-card strong,
.mc-essential-card h3,
.mc-trip-copy h2,
.mc-detail-item strong { color: var(--mc-text); }
.mc-stat-card small,
.mc-essential-card p,
.mc-trip-summary small,
.mc-trip-summary strong { color: var(--mc-muted); }
.mc-travel-note {
    border: 1px solid rgba(74,222,128,.13);
    background: rgba(74,222,128,.05);
}
.mc-travel-note-icon { border: 1px solid rgba(74,222,128,.20); background: rgba(74,222,128,.10); color: var(--mc-green); }
.mc-travel-note p:last-child { color: var(--mc-muted); }
.mc-trip-filters { border-color: var(--mc-border); background: var(--mc-card); }
.mc-trip-filters button { color: var(--mc-muted); }
.mc-trip-filters button.active { background: var(--mc-green-bg); color: var(--mc-green); }
.mc-trip-date { border: 1px solid rgba(74,222,128,.16); background: rgba(74,222,128,.09); color: var(--mc-green); }
.mc-trip-open { color: var(--mc-green); }
.mc-empty-state { border-color: var(--mc-border); }

/* Trip details. */
.mc-booking-hero {
    position: relative;
    border: 1px solid var(--mc-border);
    background: var(--mc-card);
    box-shadow: var(--mc-shadow);
}
.mc-booking-hero::before {
    position: absolute;
    top: -140px;
    right: 10%;
    width: 430px;
    height: 340px;
    border-radius: 50%;
    background: rgba(34,197,94,.09);
    content: '';
    filter: blur(70px);
}
.mc-booking-hero > * { position: relative; z-index: 1; }
.mc-booking-hero-copy .mc-booking-ref { color: var(--mc-dim); }
body.mc-whmcs .mc-booking-hero-copy h1 { color: var(--mc-text) !important; }
.mc-booking-hero-copy > p:last-child { color: var(--mc-muted); }
.mc-booking-hero .status { background: rgba(74,222,128,.12); color: var(--mc-green); }
.mc-ticket-stub {
    border: 1px solid rgba(74,222,128,.22);
    background: rgba(74,222,128,.08);
    color: var(--mc-green);
}
.mc-ticket-stub::after { border-color: rgba(74,222,128,.20); }
.mc-booking-panel { border-color: var(--mc-border); }
.mc-detail-grid { border-color: var(--mc-border); }
.mc-detail-item { border-color: var(--mc-border); }
.mc-detail-item small,
.mc-panel-note,
.mc-booking-panel > p { color: var(--mc-muted); }
.mc-detail-pending strong { color: var(--mc-gold); }
.mc-payment-summary > div { border-color: var(--mc-border); }
.mc-payment-summary > div span { color: var(--mc-muted); }
.mc-paid-badge { border: 1px solid rgba(74,222,128,.18); background: var(--mc-green-bg); color: var(--mc-green); }
.mc-help-card { border: 1px solid rgba(74,222,128,.13); background: rgba(74,222,128,.05); }
.mc-help-card > span { border: 1px solid rgba(74,222,128,.18); background: rgba(74,222,128,.10); color: var(--mc-green); }
.mc-help-card p { color: var(--mc-muted); }

/* Login and account entry. */
.mc-auth-layout { border-bottom: 1px solid var(--mc-border); background: transparent; }
.mc-auth-story { position: relative; overflow: hidden; background: transparent; }
.mc-auth-story::before {
    position: absolute;
    top: -180px;
    left: -120px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: rgba(34,197,94,.08);
    content: '';
    filter: blur(90px);
}
.mc-auth-story > * { position: relative; z-index: 1; }
body.mc-whmcs .mc-auth-story h1 { color: var(--mc-text) !important; font-size: clamp(2.2rem,5.5vw,3.6rem); }
.mc-auth-story > p:not(.mc-eyebrow),
.mc-auth-story li { color: var(--mc-muted); }
.mc-auth-card {
    border-color: var(--mc-border);
    background: var(--mc-card);
    box-shadow: var(--mc-shadow);
    backdrop-filter: blur(14px);
}
.mc-auth-card h2 { color: var(--mc-text) !important; }
.mc-auth-intro,
.mc-auth-footer,
.mc-remember { color: var(--mc-muted) !important; }

/* WHMCS storefront landing. */
.mc-home-hero { border-bottom: 1px solid var(--mc-border); background: transparent; }
.mc-home-copy h1 { color: var(--mc-text) !important; }
.mc-home-copy > p:not(.mc-eyebrow),
.mc-home-trust { color: var(--mc-muted); }
.mc-route-card {
    border: 1px solid var(--mc-border);
    background: var(--mc-card);
    box-shadow: var(--mc-shadow);
}
.mc-route-card-top,
.mc-route-line i { color: var(--mc-green); }
.mc-route-line span { background: var(--mc-border); }
.mc-booking-steps ol { border-color: var(--mc-border); }
.mc-booking-steps li { border-color: var(--mc-border); background: var(--mc-card); }
.mc-booking-steps li > span { color: var(--mc-green); }
.mc-booking-steps p,
.mc-product-group-card p { color: var(--mc-muted); }
.mc-home-account { border: 1px solid rgba(74,222,128,.13); background: rgba(74,222,128,.05); }
body.mc-whmcs .mc-home-account h2 { color: var(--mc-text) !important; }
.mc-home-account p:last-child { color: var(--mc-muted); }

/* Modals and footer. */
.mc-whmcs .modal-content { border-color: var(--mc-border) !important; background: var(--mc-bg-2) !important; color: var(--mc-text); }
.mc-whmcs .modal-header,
.mc-whmcs .modal-footer { border-color: var(--mc-border) !important; }
.mc-whmcs .close { color: var(--mc-text); text-shadow: none; }
.mc-footer {
    border-top: 1px solid var(--mc-border) !important;
    background: rgba(0,0,0,.35) !important;
    color: var(--mc-dim);
}
.mc-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; border-bottom: 1px solid var(--mc-border); }
.mc-brand-light .mc-brand-mark { background: linear-gradient(135deg,var(--mc-green-dark),var(--mc-green-mid)); }
.mc-footer-intro p { color: var(--mc-dim); }
.mc-footer-links strong { color: var(--mc-text); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.mc-footer-links a { color: var(--mc-dim) !important; font-size: 13.5px; }
.mc-footer-links a:hover { color: var(--mc-text) !important; }
.mc-footer-bottom { border-color: var(--mc-border); color: var(--mc-dim); }

@media (max-width: 991px) {
    .mc-header .navbar-collapse { border-color: var(--mc-border); background: var(--mc-bg-2); }
    .mc-primary-nav .nav-link { border-bottom: 1px solid var(--mc-border); }
    .mc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .mc-brand-type { font-size: 14px; }
    .mc-account-hero { padding-top: 54px; }
    .mc-footer-grid { grid-template-columns: 1fr; }
}
