/* =========================================================
   QUICK LINK HUB
   Main Website Styles
   ========================================================= */

:root {
    --primary: #0b63f6;
    --primary-dark: #084bb8;
    --secondary: #12b76a;
    --dark: #101828;
    --text: #344054;
    --muted: #667085;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e4e7ec;
    --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    --radius: 18px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    color: var(--dark);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(228, 231, 236, 0.9);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #0b63f6, #12b76a);
    box-shadow: 0 8px 20px rgba(11, 99, 246, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: #475467;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    font-size: 26px;
    color: var(--dark);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(11, 99, 246, 0.22);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #eaf2ff;
    color: var(--primary);
}

.btn-success {
    background: var(--secondary);
    color: #fff;
}

.btn-outline {
    background: #fff;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-danger {
    background: #fff1f3;
    color: #d92d20;
}

/* =========================================================
   LANDING / HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 70px;
    background:
        radial-gradient(circle at 10% 10%, rgba(11, 99, 246, 0.12), transparent 32%),
        radial-gradient(circle at 90% 20%, rgba(18, 183, 106, 0.10), transparent 30%),
        #fff;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--dark);
    font-size: clamp(38px, 7vw, 68px);
    line-height: 1.02;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================
   ENTRY CHOICES
   ========================================================= */

.entry-section {
    padding: 0 0 80px;
    background: #fff;
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.entry-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.entry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}

.entry-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 24px;
    margin-bottom: 18px;
}

.entry-card.customer .entry-icon {
    background: #eaf2ff;
    color: #0b63f6;
}

.entry-card.agent .entry-icon {
    background: #e9f9f0;
    color: #12b76a;
}

.entry-card.login .entry-icon {
    background: #fff4e5;
    color: #f79009;
}

.entry-card h3 {
    color: var(--dark);
    font-size: 21px;
    margin-bottom: 8px;
}

.entry-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

/* =========================================================
   CUSTOMER DASHBOARD PREVIEW
   ========================================================= */

.customer-dashboard {
    background: #f8fafc;
}

.dashboard-preview {
    display: grid;
    grid-template-columns: 230px 1fr;
    min-height: 500px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.preview-sidebar {
    padding: 24px 16px;
    background: #101828;
    color: #fff;
}

.preview-brand {
    padding: 0 10px 22px;
    font-size: 18px;
    font-weight: 900;
}

.preview-menu {
    display: grid;
    gap: 7px;
}

.preview-menu div {
    padding: 11px 12px;
    border-radius: 10px;
    color: #d0d5dd;
    font-size: 13px;
}

.preview-menu .active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.preview-main {
    padding: 30px;
    background: #f8fafc;
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.preview-top h3 {
    color: var(--dark);
    font-size: 24px;
}

.preview-top span {
    font-size: 13px;
    color: var(--muted);
}

.preview-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.preview-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 18px;
}

.preview-stat small {
    color: var(--muted);
    font-size: 12px;
}

.preview-stat strong {
    display: block;
    color: var(--dark);
    font-size: 23px;
    margin-top: 4px;
}

.preview-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.preview-action {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
}

.preview-action strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.preview-action span {
    color: var(--muted);
    font-size: 12px;
}

/* =========================================================
   NETWORK SECTION
   ========================================================= */

.network-section {
    background: #fff;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.network-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 28px;
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 35px rgba(16, 24, 40, 0.10);
    transition: 0.25s ease;
    color: #fff;
}

.network-card:hover {
    transform: translateY(-5px);
}

.network-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -55px;
    bottom: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.network-card.mtn {
    background: linear-gradient(135deg, #ffc400, #f59e0b);
    color: #171717;
}

.network-card.telecel {
    background: linear-gradient(135deg, #e51b23, #b91c1c);
}

.network-card.airteltigo {
    background: linear-gradient(135deg, #ef233c, #c1121f);
}

.network-logo {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 20px;
}

.network-card h3 {
    position: relative;
    z-index: 2;
    font-size: 25px;
    margin-bottom: 6px;
}

.network-card p {
    position: relative;
    z-index: 2;
    opacity: 0.9;
    font-size: 14px;
    margin-bottom: 20px;
}

/* =========================================================
   BUNDLE SECTION
   ========================================================= */

.bundle-section {
    background: #f8fafc;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bundle-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 20px;
    box-shadow: 0 7px 20px rgba(16, 24, 40, 0.05);
    transition: 0.2s ease;
}

.bundle-card:hover {
    transform: translateY(-3px);
    border-color: #b2ccff;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.08);
}

.bundle-network {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 12px;
}

.bundle-card h3 {
    color: var(--dark);
    font-size: 25px;
    margin-bottom: 3px;
}

.bundle-card .bundle-label {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 13px;
}

.bundle-price {
    color: var(--dark);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 15px;
}

.bundle-price span {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

/* =========================================================
   FEATURES
   ========================================================= */

.features-section {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 7px 22px rgba(16, 24, 40, 0.04);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eef4ff;
    color: var(--primary);
    font-size: 21px;
    margin-bottom: 16px;
}

.feature-card h3 {
    color: var(--dark);
    font-size: 17px;
    margin-bottom: 7px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   AGENT SECTION
   ========================================================= */

.agent-section {
    background:
        radial-gradient(circle at 85% 20%, rgba(18, 183, 106, 0.14), transparent 30%),
        #101828;
    color: #fff;
}

.agent-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.agent-content h2 {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.agent-content p {
    color: #d0d5dd;
    margin-bottom: 24px;
}

.agent-benefits {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.agent-benefit {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #eaecf0;
    font-size: 14px;
}

.agent-benefit span {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(18, 183, 106, 0.2);
    color: #32d583;
    font-size: 12px;
}

.agent-card {
    background: #fff;
    color: var(--dark);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.agent-card h3 {
    font-size: 23px;
    margin-bottom: 7px;
}

.agent-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.agent-fee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 18px;
}

.agent-fee span {
    color: var(--muted);
    font-size: 13px;
}

.agent-fee strong {
    color: var(--dark);
    font-size: 22px;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-copy h2 {
    color: var(--dark);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.12;
    margin-bottom: 15px;
}

.about-copy p {
    color: var(--muted);
    margin-bottom: 14px;
}

.about-points {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.about-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.about-point-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #eaf2ff;
    color: var(--primary);
}

.about-point strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.about-point span {
    color: var(--muted);
    font-size: 13px;
}

.about-panel {
    padding: 30px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.about-panel h3 {
    color: var(--dark);
    font-size: 23px;
    margin-bottom: 15px;
}

.about-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.about-stat:last-child {
    border-bottom: 0;
}

.about-stat span {
    color: var(--muted);
    font-size: 13px;
}

.about-stat strong {
    color: var(--dark);
}

/* =========================================================
   SUPPORT
   ========================================================= */

.support-section {
    background: #fff;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.support-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 7px 20px rgba(16, 24, 40, 0.04);
}

.support-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #e9f9f0;
    color: #12b76a;
    margin-bottom: 15px;
    font-size: 21px;
}

.support-card h3 {
    color: var(--dark);
    margin-bottom: 6px;
}

.support-card p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 17px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #101828;
    color: #fff;
    padding: 50px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-brand p {
    color: #98a2b3;
    font-size: 13px;
    max-width: 320px;
    margin-top: 13px;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column a {
    color: #98a2b3;
    font-size: 13px;
    margin-bottom: 9px;
    transition: 0.2s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #344054;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #98a2b3;
    font-size: 12px;
}

/* =========================================================
   ORDER MODAL
   ========================================================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(16, 24, 40, 0.62);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-card {
    width: min(500px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
    animation: modalIn 0.2s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.modal-header h2 {
    color: var(--dark);
    font-size: 23px;
}

.modal-header p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}

.modal-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #f2f4f7;
    color: #475467;
    font-size: 20px;
}

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

.form-group label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.form-control {
    width: 100%;
    height: 48px;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    padding: 0 13px;
    outline: 0;
    color: var(--dark);
    background: #fff;
    transition: 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.10);
}

.form-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

.order-summary {
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    margin-bottom: 18px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 5px 0;
    font-size: 13px;
}

.order-summary-row span:first-child {
    color: var(--muted);
}

.order-summary-row strong {
    color: var(--dark);
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-actions .btn {
    flex: 1;
}

/* =========================================================
   STATUS / ALERTS
   ========================================================= */

.alert {
    padding: 13px 15px;
    border-radius: 11px;
    font-size: 13px;
    margin-bottom: 15px;
}

.alert-success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.alert-error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.alert-info {
    background: #eff8ff;
    color: #175cd3;
    border: 1px solid #b2ddff;
}

/* =========================================================
   CUSTOMER DASHBOARD PAGES
   ========================================================= */

.customer-app {
    min-height: 100vh;
    background: #f8fafc;
}

.customer-topbar {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.customer-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 72px);
}

.customer-sidebar {
    background: #101828;
    color: #fff;
    padding: 24px 15px;
}

.customer-sidebar-menu {
    display: grid;
    gap: 6px;
    margin-top: 25px;
}

.customer-sidebar-menu button {
    width: 100%;
    border: 0;
    background: transparent;
    color: #98a2b3;
    text-align: left;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
}

.customer-sidebar-menu button:hover,
.customer-sidebar-menu button.active {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.customer-main {
    padding: 30px;
}

.dashboard-header {
    margin-bottom: 25px;
}

.dashboard-header h1 {
    color: var(--dark);
    font-size: 29px;
}

.dashboard-header p {
    color: var(--muted);
    font-size: 14px;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.quick-action {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    transition: 0.2s ease;
}

.quick-action:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.quick-action-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eef4ff;
    color: var(--primary);
    margin-bottom: 13px;
}

.quick-action h3 {
    color: var(--dark);
    font-size: 15px;
}

.quick-action p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

/* =========================================================
   LOADING
   ========================================================= */

.loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   EMPTY STATES
   ========================================================= */

.empty-state {
    text-align: center;
    padding: 55px 20px;
    background: #fff;
    border: 1px dashed #d0d5dd;
    border-radius: 18px;
}

.empty-state-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f2f4f7;
    color: #667085;
    font-size: 23px;
}

.empty-state h3 {
    color: var(--dark);
    margin-bottom: 5px;
}

.empty-state p {
    color: var(--muted);
    font-size: 13px;
}

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

@media (max-width: 1050px) {

    .bundle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

@media (max-width: 850px) {

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .entry-grid,
    .network-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .agent-content,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-preview {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        display: none;
    }

    .customer-layout {
        grid-template-columns: 1fr;
    }

    .customer-sidebar {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {

    .container {
        width: min(100% - 22px, 1180px);
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 65px 0 55px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .navbar {
        min-height: 66px;
    }

    .nav-actions .btn-outline {
        display: none;
    }

    .bundle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .bundle-card {
        padding: 15px;
    }

    .bundle-card h3 {
        font-size: 21px;
    }

    .network-card {
        min-height: 190px;
        padding: 22px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .preview-main {
        padding: 20px;
    }

    .preview-stat-grid,
    .preview-actions {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .customer-topbar {
        padding: 0 15px;
    }

    .customer-main {
        padding: 20px 14px;
    }

    .quick-action-grid {
        grid-template-columns: 1fr 1fr;
    }

    .modal-card {
        padding: 22px;
        border-radius: 18px;
    }
}

@media (max-width: 400px) {

    .bundle-grid {
        grid-template-columns: 1fr;
    }

    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }
}

/* =========================================================
   QUICK LINK HUB - CURRENT STOREFRONT COMPATIBILITY
   Matches the current index.html structure
   ========================================================= */

header {
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 14px 5%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    flex-shrink: 0;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
}

header nav a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.2s ease;
}

header nav a:hover {
    color: #2563eb;
}

/* HERO */

.hero {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    max-width: 850px;
    margin: 0 auto 18px;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.hero-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* GENERAL SECTION TITLES */

.section-title {
    text-align: center;
    margin: 0 auto 35px;
    max-width: 750px;
}

.section-title h2 {
    margin-bottom: 10px;
}

.section-title p {
    margin: 0;
}

/* NETWORK SECTION */

.network-container {
    width: min(1100px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.network-card {
    position: relative;
    padding: 28px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    text-align: center;
    transition: 0.25s ease;
}

.network-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.11);
}

.network-card h3 {
    margin: 0 0 10px;
}

.network-card p {
    margin-bottom: 20px;
}

.network-card button {
    border: none;
    cursor: pointer;
    padding: 12px 22px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    transition: 0.2s ease;
}

.network-card button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* BUNDLE SECTIONS */

#mtn-bundles,
#telecel-bundles,
#airteltigo-bundles {
    padding: 60px 0;
}

.bundle-container {
    width: min(1100px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bundle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 22px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    text-align: center;
    transition: 0.25s ease;
}

.bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.bundle-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.bundle-card .price {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 800;
    color: #2563eb;
}

.bundle-card button {
    width: 100%;
    max-width: 150px;
    border: none;
    cursor: pointer;
    padding: 11px 16px;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    transition: 0.2s ease;
}

.bundle-card button:hover {
    background: #1d4ed8;
}

/* ORDER FORM */

.order-section {
    padding: 70px 20px;
    background: #f8fafc;
}

.order-box {
    width: min(620px, 94%);
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.selected-bundle {
    margin-bottom: 25px;
    padding: 18px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.selected-bundle p {
    margin: 5px 0;
}

.order-box form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-box label {
    font-weight: 600;
    color: #374151;
}

.order-box input,
.order-box select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    outline: none;
    font-size: 15px;
    background: #ffffff;
    box-sizing: border-box;
}

.order-box input:focus,
.order-box select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.order-box button[type="submit"] {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s ease;
}

.order-box button[type="submit"]:hover {
    background: #1d4ed8;
}

/* WHY US */

.features {
    width: min(1100px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature {
    padding: 25px 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.feature h3 {
    margin: 0 0 10px;
}

.feature p {
    margin: 0;
    line-height: 1.7;
}

/* CONTACT */

#contact {
    padding: 70px 20px;
}

.agent-contact-card {
    width: min(650px, 94%);
    margin: 0 auto;
}

/* FOOTER */

footer {
    margin-top: 50px;
    padding: 25px 20px;
    text-align: center;
    background: #0f172a;
    color: #ffffff;
}

footer p {
    margin: 5px 0;
}

/* MOBILE */

@media (max-width: 900px) {

    .network-container {
        grid-template-columns: 1fr;
    }

    .bundle-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .features {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 650px) {

    header {
        padding: 13px 18px;
        min-height: 68px;
    }

    header nav {
        gap: 13px;
    }

    header nav a {
        font-size: 13px;
    }

    .hero {
        min-height: 430px;
        padding: 60px 18px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 15px;
    }

    .bundle-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .bundle-card {
        min-height: 165px;
        padding: 18px 12px;
    }

    .bundle-card h3 {
        font-size: 19px;
    }

    .bundle-card .price {
        font-size: 18px;
    }

    .order-box {
        padding: 22px 18px;
    }

}

@media (max-width: 430px) {

    header {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    header nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 29px;
    }

    .bundle-container {
        grid-template-columns: 1fr 1fr;
    }

    .bundle-card button {
        max-width: 130px;
        font-size: 13px;
        padding: 10px 12px;
    }

}

/* =========================================================
   BUNDLE SECTIONS - HIDDEN UNTIL NETWORK IS SELECTED
   ========================================================= */

#mtn-bundles,
#telecel-bundles,
#airteltigo-bundles {
    display: none;
}

#mtn-bundles.active,
#telecel-bundles.active,
#airteltigo-bundles.active {
    display: block;
}

/* =========================================================
   QUICK LINK HUB - MODERN NETWORK SELECTION
   ========================================================= */

.network-container {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.network-card {
    position: relative;
    min-height: 280px;
    padding: 30px 26px 26px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.network-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    right: -55px;
    top: -55px;
    opacity: 0.12;
    pointer-events: none;
}

.network-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.13);
}

/* =========================================================
   NETWORK BRAND ICONS
   ========================================================= */

.network-card::before {
    width: 62px;
    height: 62px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

/* MTN */

.network-card:nth-child(1) {
    border-top: 4px solid #ffcc00;
}

.network-card:nth-child(1)::before {
    content: "MTN";
    background: #ffcc00;
    color: #111827;
}

.network-card:nth-child(1)::after {
    background: #ffcc00;
}

/* Telecel */

.network-card:nth-child(2) {
    border-top: 4px solid #e31b23;
}

.network-card:nth-child(2)::before {
    content: "T";
    background: #e31b23;
    color: #ffffff;
    font-size: 27px;
}

.network-card:nth-child(2)::after {
    background: #e31b23;
}

/* AirtelTigo */

.network-card:nth-child(3) {
    border-top: 4px solid #1976d2;
}

.network-card:nth-child(3)::before {
    content: "AT";
    background: #1976d2;
    color: #ffffff;
    font-size: 21px;
}

.network-card:nth-child(3)::after {
    background: #1976d2;
}

/* =========================================================
   NETWORK CARD TEXT
   ========================================================= */

.network-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.2;
    color: #111827;
}

.network-card p {
    position: relative;
    z-index: 2;
    margin: 0 0 22px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    max-width: 270px;
}

/* =========================================================
   NETWORK BUTTON
   ========================================================= */

.network-card button {
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.network-card:nth-child(1) button {
    background: #111827;
}

.network-card:nth-child(1) button:hover {
    background: #000000;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.22);
}

.network-card:nth-child(2) button {
    background: #e31b23;
}

.network-card:nth-child(2) button:hover {
    background: #c9141c;
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.25);
}

.network-card:nth-child(3) button {
    background: #1976d2;
}

.network-card:nth-child(3) button:hover {
    background: #125eaa;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.25);
}

.network-card button:hover {
    transform: translateY(-2px);
}

.network-card button:active {
    transform: translateY(0);
}

/* =========================================================
   NETWORK SECTION SPACING
   ========================================================= */

#data {
    padding-top: 75px;
    padding-bottom: 75px;
}

#data .section-title {
    margin-bottom: 42px;
}

#data .section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

#data .section-title p {
    color: #6b7280;
    font-size: 15px;
}

/* =========================================================
   MOBILE NETWORK CARDS
   ========================================================= */

@media (max-width: 900px) {

    .network-container {
        grid-template-columns: 1fr;
        width: min(600px, 92%);
        gap: 18px;
    }

    .network-card {
        min-height: 245px;
        padding: 25px 22px 22px;
    }

}

@media (max-width: 600px) {

    #data {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    #data .section-title h2 {
        font-size: 27px;
    }

    #data .section-title p {
        font-size: 14px;
    }

    .network-container {
        width: 92%;
        gap: 16px;
    }

    .network-card {
        min-height: 230px;
        padding: 23px 20px 20px;
        border-radius: 19px;
    }

    .network-card::before {
        width: 56px;
        height: 56px;
        border-radius: 15px;
        margin-bottom: 18px;
    }

    .network-card h3 {
        font-size: 21px;
    }

    .network-card p {
        font-size: 13.5px;
        margin-bottom: 18px;
    }

}

/* =========================================================
   QUICK LINK HUB - MAIN ENTRY GATEWAY
   ========================================================= */

.quicklink-gateway {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(37, 99, 235, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        #f8fafc;
}

.gateway-content {
    width: min(1050px, 100%);
    text-align: center;
}

.gateway-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: 0.4px;
    color: #111827;
}

.gateway-logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #2563eb;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.gateway-badge {
    display: block;
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.gateway-content > h1 {
    margin: 0 auto 15px;
    max-width: 800px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
    color: #111827;
}

.gateway-content > h1 span {
    color: #2563eb;
}

.gateway-description {
    max-width: 650px;
    margin: 0 auto 45px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
}

.gateway-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    text-align: left;
}

.gateway-option {
    position: relative;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.07);
    display: flex;
    gap: 22px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gateway-option:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.customer-option {
    border-top: 4px solid #2563eb;
}

.agent-option {
    border-top: 4px solid #111827;
}

.gateway-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #eff6ff;
    font-size: 25px;
}

.agent-option .gateway-icon {
    background: #f3f4f6;
}

.gateway-option-content {
    flex: 1;
}

.gateway-label {
    display: block;
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    color: #6b7280;
}

.gateway-option h2 {
    margin: 0 0 9px;
    color: #111827;
    font-size: 25px;
}

.gateway-option p {
    margin: 0 0 22px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
}

.gateway-button {
    width: 100%;
    min-height: 47px;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
    transition: 0.2s ease;
}

.customer-button {
    background: #2563eb;
}

.customer-button:hover {
    background: #1d4ed8;
}

.agent-button {
    background: #111827;
}

.agent-button:hover {
    background: #000000;
}

.gateway-button span {
    font-size: 20px;
}

.gateway-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    color: #9ca3af;
    font-size: 12px;
}

/* =========================================================
   AGENT REGISTRATION MODAL
   ========================================================= */

.agent-registration-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.agent-registration-modal.active {
    display: flex;
}

.agent-registration-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
}

.agent-registration-box {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.agent-modal-close {
    position: absolute;
    top: 16px;
    right: 17px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    font-size: 23px;
    cursor: pointer;
}

.agent-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 40px;
    margin-bottom: 12px;
}

.agent-modal-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #eff6ff;
    font-size: 23px;
}

.agent-modal-header > div:last-child > span {
    display: block;
    margin-bottom: 3px;
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.agent-modal-header h2 {
    margin: 0;
    color: #111827;
    font-size: 25px;
}

.agent-modal-description {
    margin: 0 0 25px;
    color: #6b7280;
    line-height: 1.6;
    font-size: 14px;
}

.gateway-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gateway-form-group {
    margin-bottom: 16px;
}

.gateway-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.gateway-form-group input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    box-sizing: border-box;
}

.gateway-form-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.gateway-registration-fee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 8px 0 18px;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
}

.gateway-registration-fee span {
    display: block;
    color: #111827;
    font-weight: 750;
    font-size: 14px;
}

.gateway-registration-fee small {
    display: block;
    margin-top: 3px;
    color: #6b7280;
}

.gateway-registration-fee strong {
    color: #2563eb;
    font-size: 20px;
}

.gateway-register-button {
    width: 100%;
    height: 49px;
    border: none;
    border-radius: 11px;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
}

.gateway-register-button:hover {
    background: #1d4ed8;
}

.gateway-registration-message {
    margin-top: 13px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}

/* MOBILE */

@media (max-width: 700px) {

    .quicklink-gateway {
        min-height: 100dvh;
        padding: 45px 16px;
    }

    .gateway-content > h1 {
        font-size: 38px;
        letter-spacing: -1.2px;
    }

    .gateway-description {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .gateway-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gateway-option {
        padding: 23px 20px;
        border-radius: 19px;
    }

    .gateway-option h2 {
        font-size: 22px;
    }

    .gateway-option p {
        font-size: 13px;
    }

    .gateway-footer {
        font-size: 11px;
    }

    .agent-registration-box {
        padding: 23px 18px;
        border-radius: 20px;
    }

    .gateway-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* =========================================================
   QUICK LINK HUB - ORDER FORM VISIBILITY
   Hidden until a customer selects a bundle and clicks Buy Now.
   ========================================================= */

#order-form {
    display: none;
}

#order-form.order-visible {
    display: block;
}

/* =========================================================
   QUICK LINK HUB - CUSTOMER ORDER TRACKING
   =========================================================
   Styles for the public customer order tracking interface.
   The component is intentionally self-contained so it does not
   interfere with the existing storefront/order form styles.
   ========================================================= */

.order-tracking-section {
    padding: 78px 20px;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        #f8fafc;
}

.order-tracking-container {
    width: min(760px, 100%);
    margin: 0 auto;
}

.order-tracking-heading {
    max-width: 620px;
    margin: 0 auto 30px;
    text-align: center;
}

.order-tracking-heading .tracking-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #175cd3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.order-tracking-heading h2 {
    color: #111827;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
    margin-bottom: 10px;
}

.order-tracking-heading p {
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

.order-tracking-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.08);
}

.order-tracking-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.order-tracking-field {
    min-width: 0;
}

.order-tracking-field label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.order-tracking-field input {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #101828;
    font-size: 14px;
    transition: 0.2s ease;
}

.order-tracking-field input::placeholder {
    color: #98a2b3;
}

.order-tracking-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.order-tracking-button {
    min-height: 48px;
    border: 0;
    border-radius: 11px;
    padding: 0 19px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: 0.2s ease;
}

.order-tracking-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.order-tracking-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.order-tracking-help {
    margin-top: 11px;
    color: #98a2b3;
    font-size: 11px;
    text-align: center;
}

.order-tracking-message {
    margin-top: 16px;
}

.order-tracking-result {
    display: none;
    margin-top: 22px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.order-tracking-result.show {
    display: block;
}

.order-tracking-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: #f8fafc;
    border-bottom: 1px solid #e4e7ec;
}

.order-tracking-result-title {
    min-width: 0;
}

.order-tracking-result-title small {
    display: block;
    color: #667085;
    font-size: 11px;
    margin-bottom: 3px;
}

.order-tracking-result-title strong {
    display: block;
    color: #101828;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.order-tracking-status-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #175cd3;
    font-size: 11px;
    font-weight: 800;
}

.order-tracking-status-badge.pending {
    background: #fff7e6;
    color: #b54708;
}

.order-tracking-status-badge.accepted {
    background: #eff8ff;
    color: #175cd3;
}

.order-tracking-status-badge.processing {
    background: #eef4ff;
    color: #175cd3;
}

.order-tracking-status-badge.delivered {
    background: #ecfdf3;
    color: #027a48;
}

.order-tracking-status-badge.failed,
.order-tracking-status-badge.cancelled {
    background: #fef3f2;
    color: #b42318;
}

.order-tracking-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 24px 22px 8px;
}

.order-tracking-step {
    position: relative;
    min-width: 0;
    text-align: center;
}

.order-tracking-step::before {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(-50% + 15px);
    right: calc(50% + 15px);
    height: 2px;
    background: #e4e7ec;
}

.order-tracking-step:first-child::before {
    display: none;
}

.order-tracking-step-dot {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f2f4f7;
    border: 2px solid #e4e7ec;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 900;
}

.order-tracking-step.active .order-tracking-step-dot,
.order-tracking-step.completed .order-tracking-step-dot {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.order-tracking-step.completed::before {
    background: #2563eb;
}

.order-tracking-step.active::before {
    background: #2563eb;
}

.order-tracking-step-label {
    display: block;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
}

.order-tracking-step.active .order-tracking-step-label,
.order-tracking-step.completed .order-tracking-step-label {
    color: #344054;
}

.order-tracking-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 12px 22px 22px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    overflow: hidden;
}

.order-tracking-detail {
    padding: 13px 15px;
    background: #ffffff;
    border-bottom: 1px solid #e4e7ec;
}

.order-tracking-detail:nth-child(odd) {
    border-right: 1px solid #e4e7ec;
}

.order-tracking-detail:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.order-tracking-detail small {
    display: block;
    color: #98a2b3;
    font-size: 10px;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.order-tracking-detail strong {
    display: block;
    color: #101828;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.order-tracking-status-message {
    margin: 0 22px 22px;
    padding: 12px 14px;
    border-radius: 11px;
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}

.order-tracking-result-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 22px 22px;
}

.order-tracking-refresh {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    font-weight: 750;
}

.order-tracking-refresh:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.order-tracking-refresh:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =========================================================
   ORDER TRACKING RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {

    .order-tracking-section {
        padding: 60px 16px;
    }

    .order-tracking-card {
        padding: 22px;
        border-radius: 19px;
    }

    .order-tracking-form {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .order-tracking-button {
        width: 100%;
    }

}

@media (max-width: 600px) {

    .order-tracking-heading h2 {
        font-size: 28px;
    }

    .order-tracking-result-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 17px;
    }

    .order-tracking-progress {
        padding: 21px 12px 7px;
    }

    .order-tracking-step-label {
        font-size: 10px;
    }

    .order-tracking-details {
        grid-template-columns: 1fr;
        margin: 12px 17px 17px;
    }

    .order-tracking-detail:nth-child(odd) {
        border-right: 0;
    }

    .order-tracking-detail:nth-last-child(-n + 2) {
        border-bottom: 1px solid #e4e7ec;
    }

    .order-tracking-detail:last-child {
        border-bottom: 0;
    }

    .order-tracking-status-message {
        margin: 0 17px 17px;
    }

    .order-tracking-result-actions {
        padding: 0 17px 17px;
    }

}
/* =========================================================
   QUICK LINK HUB - AGENT STOREFRONT MASTER STYLES
   Added without removing the existing stylesheet.
   Applies only to the agent storefront mode.
   ========================================================= */

html.agent-storefront-document,
html.agent-storefront-document body {
    background: #f4f6f8;
}

body.agent-storefront-mode {
    background: #f4f6f8;
    color: #344054;
}

body.agent-storefront-mode header {
    min-height: 76px;
    padding: 0 42px;
    background: #ffffff;
    border-bottom: 1px solid #edf0f4;
    box-shadow: 0 1px 8px rgba(16, 24, 40, 0.03);
}

body.agent-storefront-mode header .logo,
body.agent-storefront-mode header nav {
    display: none;
}

.agent-store-header-controls {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

body.agent-storefront-mode .agent-store-header-controls {
    display: flex;
}

.agent-store-menu-button,
.agent-store-theme-button,
.agent-store-help-button {
    border: 0;
    background: transparent;
    color: #344054;
    font-weight: 700;
}

.agent-store-menu-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 28px;
    line-height: 1;
}

.agent-store-menu-button:hover,
.agent-store-theme-button:hover {
    background: #f2f4f7;
}

.agent-store-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.agent-store-theme-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 21px;
}

.agent-store-help-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #eef1f5;
    color: #475467;
    text-decoration: none;
    font-size: 14px;
}

.agent-store-help-button:hover {
    background: #e4e7ec;
}

.agent-store-help-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
}

.agent-store-menu-panel {
    position: fixed;
    top: 84px;
    left: 20px;
    z-index: 1200;
    display: none;
    width: min(280px, calc(100vw - 40px));
    padding: 10px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(16, 24, 40, 0.16);
}

.agent-store-menu-panel.open {
    display: block;
}

.agent-store-menu-panel button,
.agent-store-menu-panel a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #344054;
    text-align: left;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.agent-store-menu-panel button:hover,
.agent-store-menu-panel a:hover {
    background: #f2f4f7;
}

body.agent-storefront-mode .agent-banner {
    display: flex;
    width: min(1290px, calc(100% - 84px));
    min-height: 268px;
    margin: 56px auto 72px;
    padding: 42px 52px;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    position: relative;
    text-align: left;
    border-radius: 25px;
    background:
        radial-gradient(circle at 84% 45%, rgba(255,255,255,0.10), transparent 27%),
        radial-gradient(circle at 75% 110%, rgba(255,255,255,0.08), transparent 35%),
        linear-gradient(112deg, #101f4f 0%, #193b7c 55%, #3569ad 100%);
    box-shadow: 0 22px 48px rgba(16, 24, 40, 0.15);
}

body.agent-storefront-mode .agent-banner::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    right: 42px;
    top: -112px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px rgba(255,255,255,0.035),
        0 0 0 62px rgba(255,255,255,0.025);
    pointer-events: none;
}

.agent-store-banner-icon {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 23px;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.agent-store-banner-content {
    position: relative;
    z-index: 2;
}

.agent-store-name-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
    background: rgba(255,255,255,0.13);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

body.agent-storefront-mode #agent-banner-name {
    color: inherit;
}

.agent-store-banner-content h1 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.7px;
}

.agent-store-banner-content p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    line-height: 1.6;
}

body.agent-storefront-mode .hero,
body.agent-storefront-mode #agent-program,
body.agent-storefront-mode #why-us,
body.agent-storefront-mode footer {
    display: none;
}

body.agent-storefront-mode #data {
    padding: 0 20px 78px;
    background: #f4f6f8;
}

body.agent-storefront-mode #data .section-title {
    margin-bottom: 27px;
}

body.agent-storefront-mode #data .section-title h2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #344054;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 9px;
}

body.agent-storefront-mode #data .section-title h2::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: #3d70b8;
}

body.agent-storefront-mode #data .section-title p {
    color: #98a2b3;
    font-size: 15px;
}

body.agent-storefront-mode .network-container {
    width: min(1240px, 100%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.agent-storefront-mode .network-card {
    min-height: 362px;
    padding: 38px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.07);
    color: #344054;
    transform: none;
}

body.agent-storefront-mode .network-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(16, 24, 40, 0.10);
}

body.agent-storefront-mode .network-card::after {
    display: none;
}

body.agent-storefront-mode .network-card .network-logo {
    width: 92px;
    height: 92px;
    margin: 9px auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef0f3;
    border-radius: 50%;
    background: #ffffff;
    color: #344054;
    box-shadow: 0 6px 22px rgba(16, 24, 40, 0.06);
    font-size: 18px;
    font-weight: 900;
}

body.agent-storefront-mode .network-card .network-badge {
    position: absolute;
    top: 22px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.25px;
}

body.agent-storefront-mode .network-card:nth-child(1) {
    order: 1;
}

body.agent-storefront-mode .network-card:nth-child(2) {
    order: 3;
}

body.agent-storefront-mode .network-card:nth-child(3) {
    order: 2;
}

body.agent-storefront-mode .network-card:nth-child(1) .network-logo {
    color: #f2b900;
}

body.agent-storefront-mode .network-card:nth-child(2) .network-logo {
    color: #e3262e;
}

body.agent-storefront-mode .network-card:nth-child(3) .network-logo {
    color: #d71920;
}

body.agent-storefront-mode .network-card:nth-child(1) .network-badge {
    background: #fff4cc;
    color: #8a6900;
}

body.agent-storefront-mode .network-card:nth-child(2) .network-badge {
    background: #fde9ea;
    color: #a51d23;
}

body.agent-storefront-mode .network-card:nth-child(3) .network-badge {
    background: #eef2f8;
    color: #43516b;
}

body.agent-storefront-mode .network-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 8px;
    color: #344054;
    font-size: 21px;
}

body.agent-storefront-mode .network-card p {
    position: relative;
    z-index: 2;
    min-height: 45px;
    margin: 0 0 20px;
    color: #667085;
    font-size: 14px;
}

body.agent-storefront-mode .network-card button {
    width: calc(100% + 48px);
    min-height: 67px;
    margin-top: auto;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

body.agent-storefront-mode .network-card:nth-child(1) button {
    background: #ffad19;
}

body.agent-storefront-mode .network-card:nth-child(2) button {
    background: #f05b60;
}

body.agent-storefront-mode .network-card:nth-child(3) button {
    background: #435fdb;
}

body.agent-storefront-mode .network-card button:hover {
    filter: brightness(0.97);
}

.agent-network-button-agent,
.agent-network-copy {
    display: none;
}

body.agent-storefront-mode .network-card .network-copy-default,
body.agent-storefront-mode .network-card .network-button-default {
    display: none;
}

body.agent-storefront-mode .network-card .agent-network-copy,
body.agent-storefront-mode .network-card .agent-network-button {
    display: inline;
}

body.agent-storefront-mode .bundle-section {
    display: none;
    padding: 70px 20px;
}

body.agent-storefront-mode .bundle-section.agent-bundle-visible {
    display: block;
}

body.agent-storefront-mode .bundle-section .section-title h2 {
    color: #344054;
}

body.agent-storefront-mode .bundle-section .section-title p {
    color: #667085;
}

body.agent-storefront-mode #order-form.order-visible,
body.agent-storefront-mode #order-form[style*="display: block"] {
    display: block !important;
}

body.agent-storefront-mode #track-order,
body.agent-storefront-mode #contact {
    display: none;
}

body.agent-storefront-mode #track-order.agent-store-section-visible,
body.agent-storefront-mode #contact.agent-store-section-visible {
    display: block;
}

body.agent-storefront-mode #order-form {
    padding: 70px 20px;
}

body.agent-storefront-mode .store-unavailable {
    margin: 70px auto;
}

body.agent-storefront-mode.agent-store-dark {
    background: #0f172a;
}

body.agent-storefront-mode.agent-store-dark header {
    background: #111827;
    border-bottom-color: #1f2937;
}

body.agent-storefront-mode.agent-store-dark .agent-store-menu-button,
body.agent-storefront-mode.agent-store-dark .agent-store-theme-button {
    color: #e5e7eb;
}

body.agent-storefront-mode.agent-store-dark .agent-store-help-button {
    background: #1f2937;
    color: #e5e7eb;
}

body.agent-storefront-mode.agent-store-dark #data {
    background: #0f172a;
}

body.agent-storefront-mode.agent-store-dark #data .section-title h2,
body.agent-storefront-mode.agent-store-dark .bundle-section .section-title h2 {
    color: #f3f4f6;
}

body.agent-storefront-mode.agent-store-dark #data .section-title p,
body.agent-storefront-mode.agent-store-dark .bundle-section .section-title p {
    color: #98a2b3;
}

body.agent-storefront-mode.agent-store-dark .network-card,
body.agent-storefront-mode.agent-store-dark .bundle-card,
body.agent-storefront-mode.agent-store-dark .order-box,
body.agent-storefront-mode.agent-store-dark .order-tracking-box {
    background: #111827;
    border-color: #273449;
    color: #e5e7eb;
}

body.agent-storefront-mode.agent-store-dark .network-card h3,
body.agent-storefront-mode.agent-store-dark .bundle-card h3,
body.agent-storefront-mode.agent-store-dark .order-box h2 {
    color: #f3f4f6;
}

body.agent-storefront-mode.agent-store-dark .network-card p,
body.agent-storefront-mode.agent-store-dark .bundle-card p {
    color: #98a2b3;
}

body.agent-storefront-mode.agent-store-dark .agent-store-menu-panel {
    background: #111827;
    border-color: #273449;
}

body.agent-storefront-mode.agent-store-dark .agent-store-menu-panel button,
body.agent-storefront-mode.agent-store-dark .agent-store-menu-panel a {
    color: #e5e7eb;
}

/* Storefront responsive behavior */
@media (max-width: 850px) {
    body.agent-storefront-mode header {
        padding: 0 18px;
    }

    body.agent-storefront-mode .agent-banner {
        width: calc(100% - 28px);
        margin: 24px auto 48px;
        min-height: 230px;
        padding: 30px 24px;
    }

    body.agent-storefront-mode .network-container {
        grid-template-columns: 1fr;
        width: min(520px, 100%);
    }

    body.agent-storefront-mode .network-card {
        min-height: 330px;
    }

    body.agent-storefront-mode .network-card:nth-child(1),
    body.agent-storefront-mode .network-card:nth-child(2),
    body.agent-storefront-mode .network-card:nth-child(3) {
        order: initial;
    }
}

@media (max-width: 560px) {
    body.agent-storefront-mode .agent-store-header-right {
        gap: 7px;
    }

    body.agent-storefront-mode .agent-store-help-button {
        padding: 0 12px;
    }

    body.agent-storefront-mode .agent-store-help-text {
        display: none;
    }

    body.agent-storefront-mode .agent-banner {
        width: calc(100% - 22px);
        gap: 18px;
        padding: 27px 22px;
        border-radius: 20px;
    }

    body.agent-storefront-mode .agent-store-banner-icon {
        width: 66px;
        height: 66px;
        flex-basis: 66px;
        border-radius: 18px;
        font-size: 21px;
    }

    body.agent-storefront-mode .agent-store-name-pill {
        margin-bottom: 10px;
        font-size: 12px;
    }

    body.agent-storefront-mode .agent-store-banner-content h1 {
        font-size: 25px;
    }

    body.agent-storefront-mode .agent-store-banner-content p {
        font-size: 13px;
    }
}

/* =========================================================
   QUICK LINK HUB - AGENT BUNDLE VISIBILITY FIX
   Ensures the selected network's bundles become visible.
   ========================================================= */

body.agent-storefront-mode #mtn-bundles.agent-bundle-visible,
body.agent-storefront-mode #telecel-bundles.agent-bundle-visible,
body.agent-storefront-mode #airteltigo-bundles.agent-bundle-visible {
    display: block;
}
