/*
 * GoLive Naija client area, 2026 redesign (theme: golive2, child of Twenty-One).
 * Matches golivenaija.com: logo blue #6397EE gradients, navy text, premium green buttons,
 * Sora headings and Inter body text.
 */

:root {
    --gl-navy: #223558;
    --gl-ink: #0b1a33;
    --gl-slate: #324e7e;
    --gl-blue: #6397ee;
    --gl-muted: #5b6b86;
    --gl-line: #e3eaf6;
    --gl-line-2: #eef2f9;
    --gl-field: #c9d7ef;
    --gl-bg: #f4f7fd;
    --gl-peri: #dce7fb;
    --gl-green: #0c8540;
    --gl-green-grad: linear-gradient(135deg, #24b562 0%, #0e8f45 100%);
    --gl-blue-grad: linear-gradient(145deg, #8db4f3 0%, #6397ee 45%, #3f6bc4 100%);
    --gl-radius: 16px;
    --gl-radius-sm: 10px;
    --gl-lift: 0 18px 40px -26px rgba(11, 26, 51, 0.45);
}

/* ---------- Base ---------- */
body.golive.gl2 {
    background: var(--gl-bg);
    color: #3b4a66;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
.gl2 h1, .gl2 h2, .gl2 h3, .gl2 h4, .gl2 .h1, .gl2 .h2, .gl2 .h3, .gl2 .card-title {
    font-family: Sora, Inter, sans-serif;
    color: var(--gl-navy);
    letter-spacing: -0.02em;
}
.gl2 a { color: var(--gl-slate); }
.gl2 a:hover { color: var(--gl-green); text-decoration: none; }
.gl2 .text-muted { color: var(--gl-muted) !important; }
.gl2 .gl-nowrap { white-space: nowrap; }
.gl2 .sr-only { position: absolute !important; }

/* ---------- Buttons ---------- */
.gl2 .btn {
    border-radius: var(--gl-radius-sm);
    font-weight: 600;
    padding: 0.55rem 1rem;
    transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.gl2 .btn-sm, .gl2 .btn-xs { padding: 0.35rem 0.75rem; font-size: 13.5px; border-radius: 9px; }
.gl2 .btn-lg { padding: 0.8rem 1.2rem; font-size: 16px; border-radius: 12px; }
.gl2 .btn-primary, .gl2 .btn-success, .gl2 .btn-checkout, .gl2 .btn-order-now {
    background: var(--gl-green-grad) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -10px rgba(14, 143, 69, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    text-shadow: 0 1px 1px rgba(0, 60, 25, 0.25);
}
.gl2 .btn-primary:hover, .gl2 .btn-success:hover { filter: brightness(1.06); color: #fff; }
.gl2 .btn-primary:focus, .gl2 .btn-success:focus { box-shadow: 0 0 0 3px rgba(36, 181, 98, 0.3); }
.gl2 .btn-default, .gl2 .btn-secondary, .gl2 .btn-light {
    background: #fff;
    border: 1px solid var(--gl-field);
    color: var(--gl-navy);
}
.gl2 .btn-default:hover, .gl2 .btn-secondary:hover, .gl2 .btn-light:hover { background: var(--gl-bg); color: var(--gl-navy); }
.gl2 .btn-navy { background: var(--gl-navy); border: 1px solid var(--gl-navy); color: #fff; }
.gl2 .btn-navy:hover { background: var(--gl-slate); color: #fff; }
.gl2 .btn-danger { border-radius: var(--gl-radius-sm); }
.gl2 .btn-link { color: var(--gl-slate); font-weight: 600; }
.gl2 .gl-btn-sm { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; }
.gl2 .gl-btn-icon { display: inline-flex; align-items: center; gap: 9px; padding: 0.35rem 0.9rem 0.35rem 0.35rem; }

/* ---------- Forms ---------- */
.gl2 .form-control, .gl2 .custom-select {
    border: 1px solid var(--gl-field);
    border-radius: var(--gl-radius-sm);
    min-height: 44px;
    color: var(--gl-navy);
    box-shadow: none;
}
.gl2 textarea.form-control { min-height: 120px; }
.gl2 .form-control:focus, .gl2 .custom-select:focus { border-color: var(--gl-blue); box-shadow: 0 0 0 3px rgba(99, 151, 238, 0.2); }
.gl2 label, .gl2 .col-form-label { font-weight: 600; color: var(--gl-navy); font-size: 14px; }
.gl2 .input-group-text { background: var(--gl-bg); border-color: var(--gl-field); border-radius: var(--gl-radius-sm); color: var(--gl-slate); }

/* ---------- Status pills ---------- */
.gl2 .label, .gl2 .badge { font-weight: 600; }
.gl2 .label.status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    line-height: 1.5;
    background: #eef2f7;
    color: #475467;
    border: 0;
}
.gl2 .status-active, .gl2 .status-paid, .gl2 .status-open, .gl2 .status-answered, .gl2 .status-completed,
.gl2 .status-accepted, .gl2 .status-delivered { background: #e3f4e7 !important; color: #0b6a21 !important; }
.gl2 .status-pending, .gl2 .status-payment-pending, .gl2 .status-customer-reply, .gl2 .status-inprogress,
.gl2 .status-in-progress, .gl2 .status-onhold, .gl2 .status-on-hold, .gl2 .status-pending-registration,
.gl2 .status-pending-transfer, .gl2 .status-grace, .gl2 .status-draft { background: #fff4de !important; color: #8a5300 !important; }
.gl2 .status-unpaid, .gl2 .status-overdue, .gl2 .status-suspended, .gl2 .status-terminated, .gl2 .status-fraud,
.gl2 .status-redemption, .gl2 .status-collections, .gl2 .status-dead, .gl2 .status-lost { background: #fde8e8 !important; color: #a3231a !important; }
.gl2 .status-cancelled, .gl2 .status-closed, .gl2 .status-expired, .gl2 .status-refunded,
.gl2 .status-transferred-away { background: #eef2f7 !important; color: #475467 !important; }

/* ---------- Premium icon tiles ---------- */
.gl-tile {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: #fff;
    background: var(--gl-blue-grad);
    box-shadow: 0 10px 22px -10px rgba(63, 107, 196, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 6px rgba(11, 26, 51, 0.18);
}
.gl-tile svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 1px rgba(11, 26, 51, 0.25)); }
.gl-tile-xs { width: 30px; height: 30px; border-radius: 8px; }
.gl-tile-xs svg { width: 17px; height: 17px; }
.gl-tile-sm { width: 38px; height: 38px; border-radius: 11px; }
.gl-tile-sm svg { width: 20px; height: 20px; }
.gl-tile-lg { width: 52px; height: 52px; border-radius: 15px; }
.gl-tile-lg svg { width: 26px; height: 26px; }
.gl-tile-red { background: linear-gradient(145deg, #f59a8e 0%, #e2574c 50%, #b8322a 100%); box-shadow: 0 10px 22px -10px rgba(184, 50, 42, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 6px rgba(11, 26, 51, 0.18); }
.gl-tile-green { background: linear-gradient(145deg, #5fd18f 0%, #24b562 45%, #0e8f45 100%); box-shadow: 0 8px 18px -9px rgba(14, 143, 69, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 5px rgba(11, 26, 51, 0.18); }
.gl-tile-orange { background: linear-gradient(145deg, #ffa36b 0%, #ff6c2c 50%, #d9480f 100%); box-shadow: 0 6px 12px -6px rgba(217, 72, 15, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(11, 26, 51, 0.18); }
.gl-tile-red-soft { background: #fde8e8; color: #a3231a; box-shadow: none; }
.gl-tile-red-soft svg { filter: none; }

/* ---------- App shell (logged in) ---------- */
.gl-app { display: flex; min-height: 100vh; }
.gl-app-side {
    position: sticky;
    top: 0;
    flex: 0 0 248px;
    width: 248px;
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid var(--gl-line);
}
.gl-app-side-inner { min-height: 100%; display: flex; flex-direction: column; gap: 22px; padding: 20px 16px; }
.gl-app-logo { display: block; padding: 4px 8px; }
.gl-app-logo img { height: 40px; width: auto; display: block; }
.gl-app-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.gl-app-bar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 68px;
    padding: 0 32px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--gl-line);
    backdrop-filter: blur(8px);
}
.gl-app-search {
    flex: 1 1 280px;
    max-width: 460px;
    height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: var(--gl-bg);
    border: 1px solid var(--gl-line);
    border-radius: var(--gl-radius-sm);
    color: var(--gl-muted);
}
.gl-app-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--gl-navy); }
.gl-app-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.gl-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--gl-radius-sm);
    background: transparent;
    color: var(--gl-navy) !important;
    font-size: 17px;
}
.gl-icon-btn:hover, .gl-icon-btn:focus { background: var(--gl-bg); outline: 0; }
.gl-dot {
    position: absolute;
    top: 6px;
    right: 5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--gl-navy);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}
.gl-dot-alert { background: #e2574c; }
.gl-dot-empty { display: none; }
.gl-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 12px 0 6px;
    border: 1px solid var(--gl-line);
    border-radius: var(--gl-radius-sm);
    background: #fff;
    color: var(--gl-navy);
    font-weight: 600;
}
.gl-account-btn .fa-chevron-down { font-size: 11px; color: var(--gl-muted); }
.gl-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--gl-navy);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gl-account .dropdown-menu, .gl2 .popover {
    border: 1px solid var(--gl-line);
    border-radius: 14px;
    box-shadow: 0 24px 48px -20px rgba(11, 26, 51, 0.35);
    padding: 8px;
    min-width: 240px;
}
.gl-account-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--gl-line-2); margin-bottom: 6px; }
.gl-account-head strong { display: block; color: var(--gl-navy); }
.gl-account-head span { font-size: 13px; color: var(--gl-muted); }
.gl-account .dropdown-item { border-radius: 8px; padding: 8px 10px; color: var(--gl-navy); font-size: 14px; }
.gl-account .dropdown-item:hover { background: var(--gl-bg); }
.gl-app-backdrop { display: none; }

.gl-shell #main-body { padding: 32px; flex: 1 0 auto; }
.gl-content { max-width: 1240px; }
.gl-app-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    padding: 18px 32px;
    border-top: 1px solid var(--gl-line);
    color: var(--gl-muted);
    font-size: 13px;
}
.gl-app-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.gl-app-footer-links a, .gl-app-footer-links .btn-link { color: var(--gl-muted); font-size: 13px; font-weight: 500; }

/* Sidebar navigation */
.gl-sidenav { display: flex; flex-direction: column; gap: 2px; }
.gl-sidenav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: var(--gl-radius-sm);
    background: transparent;
    color: var(--gl-navy) !important;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
}
.gl-sidenav-link > i:first-child { width: 20px; color: var(--gl-slate); font-size: 16px; }
.gl-sidenav-link:hover { background: var(--gl-bg); text-decoration: none; }
.gl-sidenav-link.active { background: var(--gl-peri); font-weight: 600; }
.gl-sidenav-link .badge { margin-left: auto; min-width: 22px; border-radius: 999px; background: #fde8e8; color: #a3231a; }
.gl-chevron { margin-left: auto; font-size: 11px; color: var(--gl-muted); transition: transform 0.2s ease; }
.gl-sidenav-toggle:not(.collapsed) .gl-chevron { transform: rotate(180deg); }
.gl-sidenav-toggle .badge + .gl-chevron { margin-left: 8px; }
.gl-sidenav-sublink {
    display: flex;
    align-items: center;
    padding: 7px 10px 7px 44px;
    border-radius: 8px;
    color: var(--gl-muted) !important;
    font-size: 14px;
}
.gl-sidenav-sublink:hover { background: var(--gl-bg); color: var(--gl-navy) !important; text-decoration: none; }
.gl-sidenav-sublink.active { color: var(--gl-navy) !important; font-weight: 600; }
.gl-sidenav-sublink .badge { margin-left: auto; }
.gl-sidenav-divider { height: 1px; margin: 6px 12px 6px 44px; background: var(--gl-line-2); }
.gl-sidenav-help { margin-top: auto; padding: 16px; border-radius: 12px; background: var(--gl-bg); }
.gl-sidenav-help p { margin: 0; font-weight: 600; color: var(--gl-navy); }
.gl-sidenav-help span { display: block; margin: 2px 0 12px; font-size: 13px; color: var(--gl-muted); }
.gl-sidenav-help .btn { font-size: 14px; }
.gl-sidenav-help-link { display: block; margin-top: 10px; text-align: center; font-size: 13.5px; font-weight: 600; }

/* Context sidebars from WHMCS (service actions, filters) */
.gl2 .sidebar .card { border: 1px solid var(--gl-line); border-radius: var(--gl-radius); box-shadow: none; overflow: hidden; margin-bottom: 20px; }
.gl2 .sidebar .card-header { background: #fff; border-bottom: 1px solid var(--gl-line-2); padding: 14px 18px; }
.gl2 .sidebar .card-title { font-size: 15px; }
.gl2 .sidebar .list-group-item { border-color: var(--gl-line-2); color: var(--gl-navy); font-size: 14px; padding: 10px 18px; }
.gl2 .sidebar .list-group-item.active, .gl2 .sidebar .list-group-item.active:hover { background: var(--gl-peri); border-color: var(--gl-peri); color: var(--gl-navy); font-weight: 600; }
.gl2 .sidebar .list-group-item .badge { border-radius: 999px; background: var(--gl-bg); color: var(--gl-navy); }

/* Page heading */
.gl-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.gl-page-head h1 { margin: 0; font-size: 28px; font-weight: 700; }
.gl-page-head p { margin: 4px 0 0; color: var(--gl-muted); }
.gl-page-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gl-crumbs .breadcrumb { margin: 4px 0 0; padding: 0; background: transparent; font-size: 13.5px; }
.gl-crumbs .breadcrumb-item, .gl-crumbs .breadcrumb-item a { color: var(--gl-muted); }

/* ---------- Cards and tables ---------- */
.gl2 .card { border: 1px solid var(--gl-line); border-radius: var(--gl-radius); box-shadow: none; }
.gl2 .card-header { background: #fff; border-bottom: 1px solid var(--gl-line-2); padding: 16px 22px; }
.gl2 .card-header:first-child { border-radius: var(--gl-radius) var(--gl-radius) 0 0; }
.gl2 .card-body { padding: 22px; }
.gl2 .card-footer { background: #fbfcff; border-top: 1px solid var(--gl-line-2); }
.gl2 .card-title { font-size: 17px; font-weight: 700; }
.gl2 .list-group-item { border-color: var(--gl-line-2); }
.gl2 .alert { border-radius: 12px; border: 0; }
.gl2 .alert-info { background: var(--gl-peri); color: var(--gl-navy); }
.gl2 .alert-warning { background: #fff8eb; color: #5c3a00; }
.gl2 .alert-danger { background: #fde8e8; color: #7a1a13; }
.gl2 .alert-success { background: #e3f4e7; color: #0b6a21; }

.gl2 .table-container {
    background: #fff;
    border: 1px solid var(--gl-line);
    border-radius: var(--gl-radius);
    padding: 6px 0 4px;
    overflow: hidden;
}
.gl2 .dataTables_wrapper .listtable { padding: 0; }
.gl2 .dataTables_wrapper .dataTables_filter { padding: 12px 22px 8px; }
.gl2 .dataTables_wrapper .dataTables_filter input {
    height: 42px;
    min-width: 240px;
    border: 1px solid var(--gl-field);
    border-radius: var(--gl-radius-sm);
    padding: 0 14px;
}
.gl2 .dataTables_wrapper .dataTables_info { padding: 12px 22px; color: var(--gl-muted); font-size: 13.5px; }
.gl2 .dataTables_wrapper .dataTables_paginate, .gl2 .dataTables_wrapper .dataTables_length { padding: 8px 22px 14px; }
.gl2 table.table-list, .gl2 .table { color: #3b4a66; }
.gl2 table.table-list thead th, .gl2 .table thead th {
    border-top: 0;
    border-bottom: 1px solid var(--gl-line);
    padding: 14px 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gl-muted);
    background: #fff;
}
.gl2 table.table-list tbody td, .gl2 .table td { border-top: 1px solid var(--gl-line-2); padding: 16px 22px; vertical-align: middle; }
.gl2 table.table-list tbody tr:hover td { background: #f8fafe; }
.gl2 table.table-list strong { color: var(--gl-navy); font-weight: 600; }
.gl2 .pagination .page-link { border-color: var(--gl-line); color: var(--gl-navy); border-radius: 8px; margin: 0 2px; }
.gl2 .pagination .page-item.active .page-link { background: var(--gl-navy); border-color: var(--gl-navy); }
.gl2 .gl-pdf-btn { display: inline-flex; align-items: center; gap: 7px; padding-left: 8px; }

/* Tabs (service and domain details) */
.gl2 .nav-tabs { border-bottom: 1px solid var(--gl-line); gap: 4px; }
.gl2 .nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--gl-muted); font-weight: 600; padding: 10px 14px; border-radius: 0; }
.gl2 .nav-tabs .nav-link.active, .gl2 .nav-tabs .nav-link:hover { color: var(--gl-navy); border-bottom-color: var(--gl-blue); background: transparent; }
.gl2 .product-details .product-status { border-radius: var(--gl-radius); }
.gl2 .product-details .product-icon { border-radius: var(--gl-radius); background: var(--gl-blue-grad); color: #fff; }

/* Ticket conversation */
.gl2 .ticket-reply { border: 1px solid var(--gl-line); border-radius: 14px; overflow: hidden; }
.gl2 .ticket-reply.staff { border-color: var(--gl-peri); }
.gl2 .ticket-reply .posted-by { background: var(--gl-bg); }

/* ---------- Dashboard ---------- */
.gl-alert-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-bottom: 20px;
    padding: 16px 20px;
    border-radius: var(--gl-radius);
    background: #fff;
    border: 1px solid #f5c2bd;
}
.gl-alert-card-text { flex: 1 1 320px; min-width: 0; }
.gl-alert-card-text strong { display: block; color: var(--gl-navy); }
.gl-alert-card-text span { font-size: 14px; color: var(--gl-muted); }
.gl-alert-card.is-overdue { border-color: #e2574c; }

.gl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.gl-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--gl-radius);
    border: 1px solid var(--gl-line);
    background: linear-gradient(180deg, #fff 0%, #f8fafe 100%);
    box-shadow: 0 12px 28px -22px rgba(34, 53, 88, 0.45);
    color: inherit !important;
    transition: transform 0.15s ease;
}
.gl-stat-card:hover { transform: translateY(-1px); text-decoration: none; }
.gl-stat-label { display: block; font-size: 14px; color: var(--gl-muted); }
.gl-stat-value { display: block; margin-top: 4px; font-family: Sora, Inter, sans-serif; font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--gl-navy); }
.gl-stat-value.is-alert { color: #a3231a; }
.gl-stat-value small { font-family: Inter, sans-serif; font-size: 14px; font-weight: 500; color: var(--gl-muted); }

.gl-panel { margin-bottom: 24px; background: #fff; border: 1px solid var(--gl-line); border-radius: var(--gl-radius); }
.gl-panel-pad { padding: 22px; }
.gl-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--gl-line); }
.gl-panel-head h2, .gl-panel-title { margin: 0; font-size: 18px; font-weight: 700; }
.gl-panel-title { margin-bottom: 14px; }
.gl-panel-head a { font-size: 14px; font-weight: 600; color: var(--gl-green); }
.gl-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--gl-line-2);
    color: inherit;
}
.gl-row:last-child { border-bottom: 0; }
.gl-row-link:hover { background: #f8fafe; text-decoration: none; color: inherit; }
.gl-row-main { flex: 1 1 240px; min-width: 0; }
.gl-row-title { margin: 0; font-weight: 600; color: var(--gl-navy); }
.gl-row-title .label { margin-left: 6px; vertical-align: 1px; }
.gl-row-sub { margin: 2px 0 0; font-size: 14px; color: var(--gl-muted); }
.gl-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-empty { padding: 26px 22px; text-align: center; color: var(--gl-muted); }
.gl-empty p { margin-bottom: 12px; }

.gl-credit-card {
    margin-bottom: 24px;
    padding: 22px;
    border-radius: var(--gl-radius);
    color: #fff;
    background: linear-gradient(140deg, #1b2a4d 0%, #2c4a86 60%, #3f6bc4 100%);
    box-shadow: var(--gl-lift);
}
.gl-credit-label { display: block; font-size: 14px; font-weight: 600; color: #dce7fb; }
.gl-credit-amount { display: block; margin: 6px 0 16px; font-family: Sora, Inter, sans-serif; font-size: 32px; font-weight: 700; }
.gl-credit-card .btn-light { border: 0; }

.gl-inline-search { display: flex; gap: 8px; }
.gl-inline-search .form-control { flex: 1; min-width: 0; }
.gl-inline-search .btn { width: 46px; padding: 0; }
.gl-small { margin: 10px 0 0; font-size: 13px; color: var(--gl-muted); }

.gl-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gl-quick a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--gl-line);
    background: linear-gradient(180deg, #fff 0%, var(--gl-bg) 100%);
    color: var(--gl-navy) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.gl-quick a:hover { text-decoration: none; border-color: var(--gl-field); }

.gl2 .client-home-cards .card { margin-bottom: 24px; }
.gl2 .client-home-cards .card-header .btn { border-radius: 8px; }

/* ---------- Public pages (cart, register, help centre) ---------- */
.gl-site-header { background: #fff; border-bottom: 1px solid var(--gl-line); }
.gl-site-header .container { min-height: 72px; gap: 28px; }
.gl-site-logo img { height: 42px; width: auto; display: block; }
.gl-site-nav { gap: 4px; }
.gl-site-nav a { padding: 10px 12px; border-radius: var(--gl-radius-sm); color: var(--gl-navy); font-weight: 500; }
.gl-site-nav a:hover { background: var(--gl-bg); color: var(--gl-navy); }
.gl-site-tools { gap: 8px; }
.gl-public .master-breadcrumb { background: transparent; }
.gl-public .master-breadcrumb .breadcrumb { background: transparent; padding: 16px 0 0; margin: 0; font-size: 13.5px; }
.gl-public #main-body { padding: 24px 0 48px; }
.gl-site-footer { padding: 22px 0; border-top: 1px solid var(--gl-line); background: #fff; color: var(--gl-muted); font-size: 13px; }
.gl-site-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.gl-site-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.gl-site-footer-links a, .gl-site-footer-links .btn-link { color: var(--gl-muted); font-size: 13px; font-weight: 500; }
.gl-site-footer-links { align-items: center; }
.gl-social { display: inline-flex; align-items: center; gap: 12px; }
.gl-social a { display: inline-flex; color: var(--gl-muted); }
.gl-social a:hover { color: var(--gl-navy); }
.gl-social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Login ---------- */
.gl-page-login .gl-site-header, .gl-page-login .gl-site-footer, .gl-page-login .master-breadcrumb { display: none; }
.gl-page-login #main-body { padding: 0 !important; background: #fff; }
.gl-page-login #main-body > .container { max-width: none; padding: 0; }
.gl-page-login #main-body .row { margin: 0; }
.gl-page-login #main-body .primary-content { padding: 0; }
.gl-login { display: flex; min-height: 100vh; }
.gl-login-side {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 48px;
    color: #fff;
    background: linear-gradient(180deg, #7590ca 0%, #82a2e8 100%);
}
.gl-login-logo img { height: 52px; width: auto; display: block; }
.gl-login-news { margin: auto 0; }
.gl-login-news h2 { margin: 0 0 26px; color: #fff; font-size: 40px; font-weight: 700; }
.gl-login-slide { display: none; }
.gl-login-slide.is-active { display: block; }
.gl-login-date { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #e9f0fd; }
.gl-login-slide h3 { margin: 0 0 14px; color: #fff; font-size: 30px; line-height: 1.2; font-weight: 700; }
.gl-login-excerpt { margin: 0 0 14px; line-height: 1.75; color: #f4f7fd; }
.gl-login-slide a { color: #fff; font-weight: 700; text-decoration: underline; }
.gl-login-dots { display: flex; gap: 12px; margin-top: 26px; }
.gl-login-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.45); }
.gl-login-dots button.is-active { background: #fff; }
.gl-login-points { margin: 0; padding: 0; list-style: none; font-size: 17px; line-height: 2; }
.gl-login-points li::before { content: '\2713'; margin-right: 10px; }
.gl-login-help { margin: 0; font-size: 14px; color: #f4f7fd; }
.gl-login-help a { color: #fff; font-weight: 700; text-decoration: underline; }
.gl-login-main { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: #fff; }
.gl-login-card {
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--gl-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 60px -36px rgba(11, 26, 51, 0.35);
    overflow: hidden;
}
.gl-login-card .login-form { padding: 36px 44px 28px; }
.gl-login-kicker { margin: 0; text-align: center; font-size: 15px; color: var(--gl-muted); }
.gl-login-title { margin: 6px 0 26px; text-align: center; font-size: 28px; font-weight: 700; }
.gl-login-card .form-control { height: 52px; }
.gl-login-forgot { margin-bottom: 0.5rem; font-size: 14px; font-weight: 600; }
.gl-pw { position: relative; }
.gl-pw .form-control { padding-right: 48px; }
.gl-pw .btn-reveal-pw { position: absolute; top: 0; right: 0; width: 48px; height: 52px; border: 0; background: transparent; color: var(--gl-muted); }
.gl-check { display: flex; align-items: center; gap: 10px; margin: 2px 0 22px; font-weight: 500; cursor: pointer; }
.gl-check input { width: 18px; height: 18px; accent-color: var(--gl-green); }
.gl-login-switch { margin: 22px 0 0; text-align: center; color: var(--gl-muted); }
.gl-login-switch a { color: var(--gl-green); font-weight: 600; }
.gl-login-foot { padding: 16px; border-top: 1px solid var(--gl-line-2); text-align: center; font-size: 14px; color: var(--gl-muted); }
.gl-login-foot .btn-link { font-size: 14px; color: var(--gl-navy); }

/* ---------- Invoice page ---------- */
body.gl-invoice-page { background: var(--gl-bg); }
.gl-inv-bar { margin-bottom: 28px; background: #fff; border-bottom: 1px solid var(--gl-line); }
.gl-inv-bar .gl-inv-wrap { min-height: 68px; }
.gl-inv-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gl-inv-back { font-weight: 600; color: var(--gl-navy); }
.gl-inv-card { margin-bottom: 28px; background: #fff; border: 1px solid var(--gl-line); border-radius: var(--gl-radius); overflow: hidden; }
.gl-inv-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 28px 32px; border-bottom: 1px solid var(--gl-line); }
.gl-inv-logo { max-height: 52px; width: auto; margin-bottom: 14px; }
.gl-inv-from { margin: 0; font-size: 14px; line-height: 1.6; color: var(--gl-muted); }
.gl-inv-meta { text-align: right; }
.gl-inv-meta h1 { margin: 0 0 8px; font-size: 28px; font-weight: 700; }
.gl-inv-meta dl { display: grid; grid-template-columns: auto auto; justify-content: end; gap: 4px 14px; margin: 16px 0 0; font-size: 14px; }
.gl-inv-meta dt { font-weight: 400; color: var(--gl-muted); }
.gl-inv-meta dd { margin: 0; color: var(--gl-navy); }
.gl-inv-section { padding: 22px 32px; border-bottom: 1px solid var(--gl-line); }
.gl-inv-section address { margin: 0; line-height: 1.6; color: var(--gl-navy); }
.gl-inv-label { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gl-muted); }
.gl-inv-items { margin: 0; }
.gl-inv-items th, .gl-inv-items td { padding: 14px 32px !important; }
.gl-inv-items td:first-child { color: var(--gl-navy); }
.gl-inv-totals { padding: 18px 32px 24px; border-top: 1px solid var(--gl-line); }
.gl-inv-totals dl { display: grid; grid-template-columns: auto minmax(120px, auto); justify-content: end; gap: 8px 40px; margin: 0; }
.gl-inv-totals dt { font-weight: 400; color: var(--gl-muted); text-align: right; }
.gl-inv-totals dd { margin: 0; text-align: right; color: var(--gl-navy); }
.gl-inv-totals .gl-inv-total { padding-top: 10px; border-top: 1px solid var(--gl-line); font-weight: 700; color: var(--gl-navy); }
.gl-inv-totals dd.gl-inv-total { font-family: Sora, Inter, sans-serif; font-size: 22px; }
.gl-inv-transactions { padding: 20px 32px 24px; background: #fbfcff; border-top: 1px solid var(--gl-line); }
.gl-inv-transactions .table td, .gl-inv-transactions .table th { padding: 8px 10px !important; font-size: 13.5px; }
.gl-inv-foot { margin: 10px 0 0; font-size: 13.5px; color: var(--gl-muted); }
.gl-pay-card { margin-bottom: 16px; padding: 22px; background: #fff; border: 1px solid var(--gl-line); border-radius: var(--gl-radius); }
.gl-pay-label { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--gl-navy); }
.gl-pay-amount { margin: 0 0 6px; font-family: Sora, Inter, sans-serif; font-size: 34px; font-weight: 700; color: var(--gl-navy); }
.gl-gateways { display: flex; flex-direction: column; gap: 8px; }
.gl-gateway {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--gl-line);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 400;
}
.gl-gateway.is-selected { border: 2px solid var(--gl-navy); padding: 13px; }
.gl-gateway input { width: 18px; height: 18px; accent-color: var(--gl-green); }
.gl-gateway-text { flex: 1; min-width: 0; }
.gl-gateway-text strong { display: block; color: var(--gl-navy); }
.gl-gateway-text span { font-size: 13px; color: var(--gl-muted); }
.gl-gateway-logo { height: 18px; width: auto; }
.gl-pay-method { color: var(--gl-navy); font-weight: 600; }
.gl-pay-button { margin-top: 16px; }
.gl-pay-button form { margin: 0; }
.gl-pay-button input[type="submit"], .gl-pay-button input[type="button"], .gl-pay-button button, .gl-pay-button .btn {
    display: block;
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: var(--gl-green-grad);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 20px -10px rgba(14, 143, 69, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    cursor: pointer;
}
.gl-pay-note { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--gl-muted); }
.gl-pay-cards { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 12px; }
.gl-pay-cards img { height: 22px; width: auto; }
.gl-pay-cards img:first-child { height: 26px; }
.gl-pay-credit { margin: 14px 0 0; padding: 14px; border-radius: 12px; background: var(--gl-bg); font-size: 14px; }
.gl-pay-tip { padding: 18px 20px; border-radius: var(--gl-radius); background: var(--gl-peri); color: var(--gl-navy); font-size: 14px; }
.gl-pay-tip p { margin: 4px 0 0; }

@media print {
    .gl-inv-wrap { max-width: none; padding: 0; }
    .gl-inv-card { border: 0; }
}

/* ---------- Mobile ---------- */
@media (max-width: 991.98px) {
    .gl-app-side {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1060;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: 0 0 40px rgba(11, 26, 51, 0.2);
    }
    .gl-nav-open .gl-app-side { transform: none; }
    .gl-nav-open .gl-app-backdrop { display: block; position: fixed; inset: 0; z-index: 1050; background: rgba(11, 26, 51, 0.35); }
    .gl-app-bar { padding: 0 16px; }
    .gl-shell #main-body { padding: 20px 16px; }
    .gl-app-footer { padding: 16px; }
    .gl-login { flex-direction: column-reverse; }
    .gl-login-side { flex: 0 0 auto; padding: 28px 24px; gap: 24px; }
    .gl-login-news h2 { font-size: 28px; }
    .gl-login-slide h3 { font-size: 22px; }
    .gl-login-card .login-form { padding: 28px 22px 22px; }
    .gl-inv-head, .gl-inv-section, .gl-inv-totals, .gl-inv-transactions { padding-left: 20px; padding-right: 20px; }
    .gl-inv-items th, .gl-inv-items td { padding: 12px 20px !important; }
    .gl-inv-meta { text-align: left; }
    .gl-inv-meta dl { justify-content: start; }
}

/* ---------- Refinements ---------- */
.gl2 .gl-gateway { font-weight: 400; }
.gl2 .gl-gateway-text span { font-weight: 400; line-height: 1.45; display: block; }
.gl2 table.table-list thead th { background: #fff !important; }
.gl2 table.table-list tbody td.sorting_1 { background: transparent; }
.gl2 .client-home-cards .card { overflow: hidden; }
.gl2 .client-home-cards .list-group { margin: 0; }
.gl2 .client-home-cards .list-group-item { padding: 14px 22px; border-left: 0; border-right: 0; border-radius: 0; color: var(--gl-navy); }
.gl2 .client-home-cards .list-group-item:last-child { border-bottom: 0; }
.gl2 .client-home-cards .card-footer:empty { display: none; }
.gl2 .dataTables_wrapper .dataTables_filter input::placeholder { color: #7a88a3; }
@media (max-width: 575.98px) {
    .gl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gl-stat-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
    .gl-stat-value { font-size: 26px; }
    .gl-page-head h1 { font-size: 24px; }
}

/* =========================================================
 * Cart and checkout (WHMCS standard_cart order form)
 * ========================================================= */
.gl2 #order-standard_cart { color: #3b4a66; font-size: 15px; }
.gl2 #order-standard_cart .header-lined { margin-bottom: 22px; padding-bottom: 0; border: 0; }
.gl2 #order-standard_cart .header-lined h1 { margin: 0; font-size: 30px !important; font-weight: 700; color: var(--gl-navy); }
.gl2 #order-standard_cart .header-lined p { margin: 6px 0 0; color: var(--gl-muted); font-size: 16px; }
.gl2 #order-standard_cart .font-size-36 { font-size: 30px !important; }

/* Category sidebar */
.gl2 #order-standard_cart .cart-sidebar .card { border: 1px solid var(--gl-line); border-radius: var(--gl-radius); overflow: hidden; }
.gl2 #order-standard_cart .cart-sidebar .card-header { background: #fff; padding: 14px 18px; }
.gl2 #order-standard_cart .cart-sidebar .list-group-item { padding: 10px 18px; border-color: var(--gl-line-2); color: var(--gl-navy); font-size: 14px; }
.gl2 #order-standard_cart .cart-sidebar .list-group-item.active { background: var(--gl-peri); border-color: var(--gl-peri); color: var(--gl-navy); font-weight: 600; }

/* Product cards */
.gl2 #order-standard_cart .products .product {
    display: flex;
    flex-direction: column;
    height: calc(100% - 20px);
    margin: 0 0 20px;
    padding: 0;
    border: 1px solid var(--gl-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--gl-lift);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.gl2 #order-standard_cart .products .product:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 33, 75, .12); }
.gl2 #order-standard_cart .products .product header { margin: 0; padding: 22px 24px 4px; background: #fff; border-radius: 0; }
.gl2 #order-standard_cart .products .product header span { font-family: Sora, Inter, sans-serif; font-size: 20px; font-weight: 700; color: var(--gl-navy); }
.gl2 #order-standard_cart .products .product header .qty { font-style: normal; color: var(--gl-muted); font-size: 13px; }
/* Stacked card: features, then price and button (the stock side-by-side layout clips long prices) */
.gl2 #order-standard_cart .products .product div.product-desc { float: none; width: auto; flex: 1 1 auto; padding: 6px 24px 16px; font-size: 14.5px; color: #3b4a66; }
.gl2 #order-standard_cart .products .product div.product-desc ul { margin: 0; padding-left: 0; list-style: none; }
.gl2 #order-standard_cart .products .product div.product-desc li { position: relative; padding: 4px 0 4px 24px; }
.gl2 #order-standard_cart .products .product div.product-desc li::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: #e3f7ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%2316a34a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.gl2 #order-standard_cart .products .product footer { float: none; width: auto; margin: 0; padding: 16px 24px 22px; border-top: 1px solid var(--gl-line-2); background: #fafbff; text-align: left; }
.gl2 #order-standard_cart .products .product div.product-pricing { color: var(--gl-muted); font-size: 13px; }
.gl2 #order-standard_cart .products .product div.product-pricing .price { display: block; margin: 2px 0; font-family: Sora, Inter, sans-serif; font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--gl-navy); word-break: break-word; }
.gl2 #order-standard_cart .products .product div.product-pricing br { display: none; }
.gl2 #order-standard_cart .products .product .btn-order-now { display: block; width: 100%; margin-top: 14px; padding: 0.7rem 1.4rem; font-size: 15px; border-radius: 12px; }

/* Section headings: left aligned, no centred rule */
.gl2 #order-standard_cart .sub-heading,
.gl2 #order-standard_cart .sub-heading-borderless { height: auto; margin: 30px 0 14px; border: 0; text-align: left; }
.gl2 #order-standard_cart .sub-heading span,
.gl2 #order-standard_cart .sub-heading-borderless span { position: static; padding: 0; background: none; font-family: Sora, Inter, sans-serif; font-size: 18px; font-weight: 700; color: var(--gl-navy); }

/* Fields with a leading icon */
.gl2 #order-standard_cart .form-control,
.gl2 #order-standard_cart .custom-select { min-height: 46px; border: 1px solid var(--gl-field); border-radius: 12px; background-color: #fff; font-size: 15px; color: var(--gl-ink); }
.gl2 #order-standard_cart textarea.form-control { min-height: 110px; padding: 12px 14px; }
.gl2 #order-standard_cart .form-control:focus { border-color: var(--gl-blue); box-shadow: 0 0 0 3px rgba(99, 151, 238, .2); }
.gl2 #order-standard_cart .prepend-icon .field { padding-left: 44px; }
.gl2 #order-standard_cart .prepend-icon .field-icon { width: 44px; height: 46px; line-height: 46px; color: var(--gl-blue); }

/* Logged-in account picker */
.gl2 #order-standard_cart .account-select-container { overflow: hidden; border: 1px solid var(--gl-line); border-radius: var(--gl-radius); background: #fff; }
.gl2 #order-standard_cart .account-select-container div.account { padding: 16px 18px; border: 0 !important; border-bottom: 1px solid var(--gl-line-2) !important; background: #fff; }
.gl2 #order-standard_cart .account-select-container div.account.active { background: #f1f6ff; }

/* Cart items */
.gl2 #order-standard_cart .view-cart-items-header { padding: 12px 20px; border-radius: var(--gl-radius) var(--gl-radius) 0 0; background: var(--gl-navy); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.gl2 #order-standard_cart .view-cart-items { overflow: hidden; margin-bottom: 18px; border: 1px solid var(--gl-line); border-top: 0; border-radius: 0 0 var(--gl-radius) var(--gl-radius); background: #fff; box-shadow: var(--gl-lift); }
.gl2 #order-standard_cart .view-cart-items .item { padding: 16px 20px; border-bottom: 1px solid var(--gl-line-2); font-size: 14px; }
.gl2 #order-standard_cart .view-cart-items .item:nth-child(even) { background: #fafbff; }
.gl2 #order-standard_cart .view-cart-items .item-title { font-weight: 700; color: var(--gl-navy); font-size: 15px; }
.gl2 #order-standard_cart .view-cart-items .item-group { color: var(--gl-muted); }
.gl2 #order-standard_cart .view-cart-items .item-price span { font-size: 17px; font-weight: 700; color: var(--gl-navy); white-space: nowrap; }
.gl2 #order-standard_cart .view-cart-items .item-price .cycle, .gl2 #order-standard_cart .view-cart-items .item-price small { display: block; font-size: 12px; font-weight: 500; color: var(--gl-muted); white-space: normal; }
.gl2 #order-standard_cart .view-cart-items .item-price .renewal-price { display: inline; }
.gl2 #order-standard_cart #btnEmptyCart { padding: 4px 8px; border: 0; background: none; color: var(--gl-muted); font-size: 13px; font-weight: 600; }
.gl2 #order-standard_cart #btnEmptyCart:hover { color: #c0392b; }
.gl2 #order-standard_cart .view-cart-tabs .nav-tabs { border-bottom: 0; }
.gl2 #order-standard_cart .view-cart-tabs .nav-tabs .nav-link { border: 0; border-radius: 12px 12px 0 0; background: #fff; color: var(--gl-navy); font-weight: 600; }
.gl2 #order-standard_cart .view-cart-tabs .tab-content { padding: 16px; border: 1px solid var(--gl-line); border-radius: 0 var(--gl-radius) var(--gl-radius) var(--gl-radius); background: #fff; }
.gl2 #order-standard_cart .view-cart-tabs .tab-content .btn { border-radius: 12px; }
.gl2 #order-standard_cart .empty-cart { padding: 40px 20px; color: var(--gl-muted); }
.gl2 #order-standard_cart .empty-cart .btn { border-radius: 12px; }

/* Order summary */
.gl2 #order-standard_cart .order-summary { overflow: hidden; border: 1px solid var(--gl-line); border-radius: 20px; background: linear-gradient(150deg, #2c4472 0%, #223558 55%, #182847 100%); box-shadow: var(--gl-lift); }
.gl2 #order-standard_cart .order-summary h2 { padding: 16px 20px; font-family: Sora, Inter, sans-serif; font-size: 17px; font-weight: 700; text-align: left; color: #fff; letter-spacing: -0.01em; }
.gl2 #order-standard_cart .summary-container { margin: 0 6px 6px; padding: 18px; border-radius: 15px; background: #fff; font-size: 14px; color: #3b4a66; }
.gl2 #order-standard_cart .order-summary .product-name { font-weight: 700; color: var(--gl-navy); }
.gl2 #order-standard_cart .order-summary .product-group { color: var(--gl-muted); }
.gl2 #order-standard_cart .order-summary .bordered-totals { border-color: var(--gl-line-2); }
.gl2 #order-standard_cart .order-summary .total-due-today span:not(.amt) { color: var(--gl-muted); font-size: 13px; }
.gl2 #order-standard_cart .order-summary .total-due-today .amt { font-family: Sora, Inter, sans-serif; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--gl-navy); letter-spacing: -0.02em; }
.gl2 #order-standard_cart .order-summary .btn-checkout { width: 100%; height: 52px; border-radius: 12px; font-size: 16px; }
.gl2 #order-standard_cart .order-summary .btn-continue-shopping { color: var(--gl-slate); }

/* Total due on the checkout page */
.gl2 #order-standard_cart div#totalDueToday { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border: 0; border-radius: var(--gl-radius); background: linear-gradient(150deg, #2c4472 0%, #223558 60%, #182847 100%); color: rgba(255, 255, 255, .8); font-size: 15px; text-align: left; }
.gl2 #order-standard_cart div#totalDueToday strong { font-family: Sora, Inter, sans-serif; font-size: 24px; font-weight: 700; color: #fff; }

/* Payment methods as cards, with the processor logo */
.gl2 #order-standard_cart #paymentGatewaysContainer > p { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--gl-navy); }
.gl2 #order-standard_cart #paymentGatewaysContainer .text-center { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; text-align: left; }
.gl2 #order-standard_cart #paymentGatewaysContainer label.radio-inline { display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 14px 16px; border: 1px solid var(--gl-line); border-radius: 14px; background: #fff; font-size: 15px; font-weight: 600; color: var(--gl-navy); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.gl2 #order-standard_cart #paymentGatewaysContainer label.radio-inline:hover { border-color: var(--gl-field); }
.gl2 #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(input:checked),
.gl2 #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(.checked) { border-color: var(--gl-green); background: #f2fbf6; box-shadow: 0 0 0 3px rgba(36, 181, 98, .14); }
.gl2 #order-standard_cart #paymentGatewaysContainer label.radio-inline::after { content: ""; flex: 0 0 auto; margin-left: auto; width: 0; height: 22px; background: center right / contain no-repeat; }
.gl2 #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(input[value*="paystack" i])::after { width: 86px; background-image: url('../img/paystack.png'); }
.gl2 #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(input[value*="flutter" i])::after,
.gl2 #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(input[value*="rave" i])::after { width: 96px; background-image: url('../img/flutterwave.png'); }

/* Terms and the complete-order button */
.gl2 #order-standard_cart #btnCompleteOrder { background: var(--gl-green-grad); border: 0; }

/* Domain search on the brand map */
.gl2 #order-standard_cart .domain-checker-container { overflow: hidden; margin: 10px 0 24px; border-radius: 22px; background: url('../img/world-map.jpg') center / cover no-repeat, linear-gradient(145deg, #3f6bc4 0%, #2c4f97 55%, #223558 100%); background-blend-mode: soft-light, normal; box-shadow: var(--gl-lift); }
.gl2 #order-standard_cart .domain-checker-bg { padding: 56px 24px; background-image: none; }
.gl2 #order-standard_cart .domain-checker-container .input-group-box { max-width: 720px; padding: 8px; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); }
.gl2 #order-standard_cart .domain-checker-container .input-group-box .form-control { border: 0; box-shadow: none; font-size: 17px; }
.gl2 #order-standard_cart .domain-checker-container .input-group-box .btn { min-width: 130px; border: 0; border-radius: 12px !important; background: var(--gl-green-grad); font-weight: 600; }
.gl2 #order-standard_cart .domain-checker-available { color: var(--gl-green); }
.gl2 #order-standard_cart .domain-pricing .bg-white { overflow: hidden; border: 1px solid var(--gl-line); border-radius: var(--gl-radius); }
.gl2 #order-standard_cart .tld-pricing-header { background: var(--gl-navy); color: #fff; font-size: 13px; font-weight: 600; }
.gl2 #order-standard_cart .tld-pricing-header div { padding: 0; border: 0 !important; background: transparent !important; color: #fff; }
.gl2 #order-standard_cart .tld-pricing-header .tld-column, .gl2 #order-standard_cart .tld-pricing-header .col-4 { padding: 12px 0; }
.gl2 #order-standard_cart .tld-pricing-header .tld-column { display: flex; align-items: center; justify-content: center; }
.gl2 #order-standard_cart .tld-row { border-top: 1px solid var(--gl-line-2); }
.gl2 #order-standard_cart .tld-row strong { font-family: Sora, Inter, sans-serif; color: var(--gl-navy); }
.gl2 #order-standard_cart .domain-promo-box { margin-bottom: 20px; padding: 24px; border: 1px solid var(--gl-line); border-radius: 20px; background: #fff; box-shadow: var(--gl-lift); }
.gl2 #order-standard_cart .domain-promo-box i { color: var(--gl-blue); font-size: 2.6em; }
.gl2 #order-standard_cart .domain-promo-box h3 { font-weight: 700; color: var(--gl-navy); }
.gl2 #order-standard_cart .domain-promo-box .text-warning, .gl2 #order-standard_cart .domain-promo-box .text-primary { color: var(--gl-green) !important; }
.gl2 #order-standard_cart .domain-promo-box .btn { border: 0; border-radius: 12px; background: var(--gl-green-grad); color: #fff; font-weight: 600; }

.gl2 #order-standard_cart .cc-input-container, .gl2 #order-standard_cart .apply-credit-container { border-radius: 12px; }
.gl2 #order-standard_cart #btnCompleteOrder { height: 54px; min-width: 260px; font-size: 16px; border-radius: 12px; }
.gl2 .gl-cart-cards { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 14px 0 0; }

@media (max-width: 767.98px) {
    .gl2 #order-standard_cart .products .product { height: auto; }
    .gl2 #order-standard_cart div#totalDueToday { flex-wrap: wrap; padding: 16px 18px; }
    .gl2 #order-standard_cart div#totalDueToday strong { font-size: 21px; white-space: nowrap; }
    .gl2 #order-standard_cart .domain-checker-bg { padding: 32px 14px; }
    .gl2 #order-standard_cart #btnCompleteOrder { width: 100%; min-width: 0; }
}
