:root {
    --primary-purple: #6c47ff;
    --primary-purple-dark: #5833e3;
    --primary-purple-light: #7f5eff;
    --sidebar-bg: #1e1b4b;
    --sidebar-hover: #312e81;
    --sidebar-active: #4338ca;
    --header-bg: linear-gradient(135deg, #6c47ff 0%, #7d5bff 100%);
    --bg-light: #f5f6fa;
    --card-shadow: 0 4px 18px rgba(108, 71, 255, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
    --card-border-radius: 12px;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --accent-color: #a78bfa;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f4f5f9;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* App Layout with Sidebar */
.cs-app-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.cs-sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease-in-out;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.15);
}

.cs-sidebar.collapsed {
    width: 75px;
}

.cs-main-wrapper {
    flex: 1;
    margin-left: 260px;
    transition: margin-left 0.25s ease-in-out;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cs-app-layout.sidebar-collapsed .cs-main-wrapper {
    margin-left: 75px;
}

/* Sidebar Brand Header */
.cs-sidebar-brand {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-name {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.btn-toggle-sidebar {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-toggle-sidebar:hover {
    background: var(--sidebar-active);
}

/* Sidebar Menu Items */
.cs-sidebar-menu {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.menu-section-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #818cf8;
    margin: 1.25rem 0.5rem 0.5rem 0.5rem;
    text-transform: uppercase;
}

.cs-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: #c7d2fe;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.cs-nav-item i {
    font-size: 1.1rem;
    color: #a78bfa;
}

.cs-nav-item:hover {
    background: var(--sidebar-hover);
    color: white;
}

.cs-nav-item.active {
    background: var(--sidebar-active);
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.4);
}

.cs-nav-item.active i {
    color: #ffffff;
}

/* Sidebar User Footer */
.cs-sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.15);
}

.user-info .user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.user-info .user-role {
    font-size: 0.725rem;
    color: #a78bfa;
}

/* Top App Bar Header */
.cs-top-bar {
    background: #ffffff;
    padding: 0.85rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 90;
}

.top-bar-title {
    font-size: 1rem;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.cs-main-content {
    padding: 1.75rem;
    flex: 1;
}

/* Purple Card Component matching reference design */
.purple-card {
    background: #ffffff;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid #eef2f6;
    overflow: hidden;
    margin-bottom: 1.5rem;
    width: 100%;
}

.purple-card-header {
    background: var(--header-bg);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.purple-card-header i {
    font-size: 1.15rem;
}

.purple-card-body {
    padding: 1.25rem;
}

/* Info Grid */
.info-field-group {
    margin-bottom: 1rem;
}

.info-field-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.3rem;
}

.info-field-value {
    font-size: 0.925rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    word-break: break-word;
}

.info-field-value i {
    color: var(--primary-purple);
    font-size: 0.95rem;
}

/* Participant Badges Grid */
.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.participant-item {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.participant-item .label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.participant-item .count-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.participant-item .count-val i {
    color: var(--primary-purple);
    font-size: 1rem;
}

/* Dynamic Pricing Tables */
.packages-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0.5rem;
}

.packages-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.65rem 0.85rem;
    border-bottom: 2px solid #e2e8f0;
}

.packages-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
}

.packages-table .code-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: monospace;
}

/* Amount Summary Card */
.amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    font-size: 0.9rem;
    color: #475569;
}

.amount-row.discount-row {
    color: #dc2626;
}

.amount-divider {
    border-top: 1px solid #e2e8f0;
    margin: 0.65rem 0;
}

.final-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.4rem;
}

.final-amount-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.final-amount-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-purple);
}

/* Action Bar */
.action-toolbar {
    background: white;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.btn-purple {
    background: var(--primary-purple);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1.15rem;
    transition: all 0.2s ease;
}

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

.btn-outline-purple {
    border: 1.5px solid var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.45rem 1.05rem;
    background: transparent;
}

.btn-outline-purple:hover {
    background: #f5f3ff;
    color: var(--primary-purple-dark);
}

/* Print CSS */
@media print {
    .action-toolbar, .no-print, nav, header, .cs-sidebar, .cs-top-bar {
        display: none !important;
    }
    .cs-main-wrapper {
        margin-left: 0 !important;
    }
    body {
        background: white !important;
        font-size: 11pt;
    }
    .purple-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
}

/* Premium Card Custom Styles */
.hover-shadow {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 71, 255, 0.15) !important;
}
.border-primary-purple {
    border-color: var(--primary-purple) !important;
}
.bg-light-purple {
    background-color: #f5f3ff !important;
}
.text-purple {
    color: var(--primary-purple) !important;
}
.bg-orange {
    background-color: #ff9800 !important;
}
.text-orange {
    color: #ff9800 !important;
}
.border-orange {
    border-color: #ff9800 !important;
}
.bg-light-orange {
    background-color: #fff9f0 !important;
}
.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}
.object-cover {
    object-fit: cover;
}
.extra-small {
    font-size: 0.7rem;
    opacity: 0.8;
}
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enterprise workspace refinement */
:root {
    --primary-purple: #4f46e5;
    --primary-purple-dark: #3730a3;
    --sidebar-bg: #101828;
    --sidebar-hover: #1d2939;
    --sidebar-active: #344054;
    --bg-light: #f8fafc;
    --text-dark: #101828;
    --text-muted: #667085;
    --card-border-radius: 14px;
    --card-shadow: 0 1px 2px rgba(16,24,40,.04), 0 2px 8px rgba(16,24,40,.05);
}

body { background: #f8fafc; font-size: .925rem; }
.cs-sidebar { width: 276px; background: linear-gradient(180deg, #101828 0%, #16243a 100%); box-shadow: 4px 0 24px rgba(16,24,40,.12); }
.cs-sidebar.collapsed { width: 76px; }
.cs-main-wrapper { margin-left: 276px; background: radial-gradient(circle at 100% 0%, #eef2ff 0, transparent 25rem), #f8fafc; }
.cs-app-layout.sidebar-collapsed .cs-main-wrapper { margin-left: 76px; }
.cs-sidebar-brand { padding: 1.35rem 1.2rem; min-height: 82px; }
.brand-name { font-size: .86rem; letter-spacing: .09em; }
.brand-sub { color: #a5b4fc; font-size: .64rem; margin-top: 3px; }
.btn-toggle-sidebar { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.08); }
.cs-sidebar-menu { padding: 1.1rem .85rem; }
.menu-section-label { color: #98a2b3; font-size: .61rem; letter-spacing: .11em; margin: 1.6rem .65rem .6rem; }
.cs-nav-item { padding: .72rem .85rem; border-radius: 8px; margin-bottom: .15rem; color: #d0d5dd; font-size: .84rem; }
.cs-nav-item i { color: #98a2b3; font-size: 1rem; width: 18px; text-align: center; }
.cs-nav-item:hover { background: rgba(255,255,255,.07); }
.cs-nav-item.active { background: #344054; box-shadow: none; position: relative; }
.cs-nav-item.active::before { content: ""; position: absolute; left: -13px; width: 3px; height: 22px; background: #818cf8; border-radius: 0 4px 4px 0; }
.cs-sidebar-footer { background: rgba(0,0,0,.14); padding: 1rem 1.2rem; }
.user-avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:9px; background:#344054; color:#c7d2fe; }
.user-info .user-name { font-size: .78rem; }.user-info .user-role { color:#98a2b3; }.status-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#32d583; margin-right:4px; }

.cs-top-bar { min-height: 76px; padding: .85rem 2rem; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid #eaecf0; box-shadow: none; }
.workspace-mark { display:grid; place-items:center; width:34px; height:34px; color:#4f46e5; background:#eef2ff; border-radius:9px; }.workspace-label { color:#667085; text-transform:uppercase; font-size:.62rem; letter-spacing:.09em; font-weight:800; }.top-bar-title { font-weight:700; font-size:.95rem; color:#101828; }.system-status { align-items:center; gap:.45rem; color:#475467; font-size:.75rem; font-weight:600; }.system-status span { width:8px; height:8px; border-radius:50%; background:#12b76a; box-shadow:0 0 0 3px #d1fadf; }
.btn-primary-action { display:inline-flex; align-items:center; gap:.45rem; color:white; background:#4f46e5; border:1px solid #4f46e5; border-radius:8px; padding:.48rem .72rem; font-weight:700; }.btn-primary-action:hover { color:white; background:#3730a3; }
.btn-icon { display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid #d0d5dd; border-radius:8px; color:#344054; }
.account-menu { position:relative; }.account-menu summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:7px; color:#667085; }.account-menu summary::-webkit-details-marker { display:none; }.account-initial { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#3730a3; background:#e0e7ff; font-size:.78rem; font-weight:800; }.account-menu summary i { font-size:.68rem; }.account-popover { position:absolute; right:0; top:43px; z-index:120; min-width:190px; padding:14px; background:white; border:1px solid #eaecf0; border-radius:10px; box-shadow:0 12px 25px rgba(16,24,40,.16); }.account-name { color:#101828; font-size:.84rem; font-weight:700; }.account-role { color:#667085; font-size:.74rem; margin-top:2px; }.account-popover hr { margin:.7rem 0; border-color:#eaecf0; }.account-popover form button { padding:0; border:0; background:none; color:#b42318; font-size:.8rem; font-weight:700; }.account-popover form button i { margin-right:6px; }

.cs-main-content { max-width: 1680px; width:100%; margin:0 auto; padding: 2rem; }
.page-heading h2 { letter-spacing:-.025em; font-size:1.55rem; }.page-heading .text-muted { max-width:620px; }
.workspace-shortcut { display:flex; align-items:center; gap:.8rem; min-height:78px; padding:1rem; background:#fff; border:1px solid #eaecf0; border-radius:12px; text-decoration:none; color:#101828; box-shadow:0 1px 2px rgba(16,24,40,.03); transition:transform .18s,box-shadow .18s,border-color .18s; }.workspace-shortcut:hover { color:#101828; border-color:#c7d2fe; box-shadow:0 6px 14px rgba(16,24,40,.08); transform:translateY(-2px); }.workspace-shortcut>span:nth-child(2) { display:flex; flex-direction:column; min-width:0; }.workspace-shortcut strong { font-size:.83rem; }.workspace-shortcut small { color:#667085; font-size:.72rem; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.workspace-shortcut>i { margin-left:auto; color:#98a2b3; }.shortcut-icon { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; border-radius:9px; font-size:1rem; }
.dashboard-hero { background:linear-gradient(113deg,#312e81 0%,#4f46e5 55%,#6366f1 100%) !important; border:0; position:relative; overflow:hidden; }.dashboard-hero::after { content:""; position:absolute; width:260px; height:260px; border:50px solid rgba(255,255,255,.08); border-radius:50%; right:-95px; top:-115px; }.dashboard-hero .row { position:relative; z-index:1; }
.purple-card { border:1px solid #eaecf0; border-radius:14px; box-shadow:var(--card-shadow); margin-bottom:1.25rem; }.purple-card-header { padding:.85rem 1.2rem; background:linear-gradient(135deg,#4f46e5,#6366f1); font-size:.88rem; }.purple-card-body { padding:1.25rem; }
.cs-main-content h2 { font-size:1.45rem; letter-spacing:-.025em; }.cs-main-content h3 { letter-spacing:-.015em; }.cs-main-content>div:first-child>div>p.text-muted { font-size:.82rem; }
.purple-card-header.bg-light { background:#fff !important; color:#344054 !important; }.purple-card-header.bg-light i { color:#4f46e5; }
.purple-card .table { --bs-table-hover-bg:#f8faff; }.purple-card .table th { white-space:nowrap; }.purple-card .table td { color:#344054; }.purple-card .table tbody tr:last-child td { border-bottom:0; }
.modal.fade.show { backdrop-filter:blur(3px); background:rgba(16,24,40,.58) !important; padding:1rem; }.modal-content { border-radius:14px !important; border:1px solid #eaecf0 !important; overflow:hidden; }.modal-header.bg-purple { background:linear-gradient(135deg,#312e81,#4f46e5) !important; padding:1rem 1.25rem; }.modal-footer.bg-light { border-top:1px solid #eaecf0; padding:.85rem 1.25rem; }.modal-body { max-height:72vh; overflow-y:auto; }
.form-label { color:#344054; font-size:.78rem; font-weight:700; margin-bottom:.4rem; }.validation-message { color:#b42318; font-size:.74rem; margin-top:.3rem; }.form-check-input:checked { background-color:#4f46e5; border-color:#4f46e5; }.btn-group-sm>.btn { padding:.38rem .6rem; }
.badge { font-weight:700; letter-spacing:.01em; }.bg-success { background-color:#12b76a !important; }.bg-warning { background-color:#f79009 !important; }.bg-danger { background-color:#d92d20 !important; }
.spinner-border { border-width:2px; }.empty-state { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:4rem 1rem; color:#667085; }.empty-state i { font-size:2.5rem; color:#98a2b3; margin-bottom:.75rem; }
#blazor-error-ui { background:#b42318; color:#fff; bottom:0; box-shadow:0 -2px 8px rgba(16,24,40,.2); font-size:.82rem; padding:1rem 1.25rem; z-index:999; } #blazor-error-ui a { color:white; font-weight:700; }
.action-toolbar { border:1px solid #eaecf0; border-radius:12px; box-shadow:var(--card-shadow); margin-bottom:1.25rem; }.btn-purple { background:#4f46e5; border-radius:8px; }.btn-purple:hover { background:#3730a3; }.btn-outline-purple { border-color:#4f46e5; color:#4f46e5; border-radius:8px; }.form-control,.form-select { border-color:#d0d5dd; border-radius:8px; min-height:40px; }.form-control:focus,.form-select:focus { border-color:#818cf8; box-shadow:0 0 0 3px #e0e7ff; }.table>thead th { color:#475467; font-size:.7rem; letter-spacing:.045em; text-transform:uppercase; border-bottom-color:#eaecf0; }.table>tbody td { border-bottom-color:#f2f4f7; }
/* Mobile Drawer & Backdrop Overlay System */
.mobile-sidebar-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 767.98px) {
    .cs-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000 !important;
    }
    .cs-sidebar.mobile-open {
        transform: translateX(0) !important;
        box-shadow: 8px 0 25px rgba(0, 0, 0, 0.4);
    }
    .cs-main-wrapper, .cs-app-layout.sidebar-collapsed .cs-main-wrapper {
        margin-left: 0 !important;
    }
    .cs-top-bar {
        padding: 0.75rem 1rem;
        min-height: 64px;
    }
    .cs-main-content {
        padding: 1rem 0.75rem;
    }
    .purple-card-body {
        padding: 0.85rem;
    }
    .purple-card-header {
        padding: 0.75rem 1rem;
    }
    .cs-main-content h2 {
        font-size: 1.2rem;
    }
    .page-heading .btn {
        width: 100%;
    }
    .workspace-shortcut {
        min-height: 68px;
    }
    .modal-dialog {
        margin: 0.5rem auto;
        max-width: 95vw;
    }

    /* Touch targets and form controls on small viewports */
    .form-control, .form-select {
        min-height: 44px;
        font-size: 0.92rem;
    }
    .btn {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .btn-group {
        flex-wrap: wrap;
        width: 100%;
    }
    .btn-group .btn {
        flex: 1 1 auto;
    }

    /* Responsive Stepper Wizard Header */
    .stepper-header {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .stepper-header::before {
        display: none;
    }
    .stepper-step {
        flex: 1 1 auto;
    }
    .step-title {
        font-size: 0.7rem;
    }

    /* Table Touch Scroll Helpers */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }
}

/* Slide-over Drawer System */
.cs-drawer-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(16, 24, 40, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1040;
}
.cs-drawer-panel {
    position: fixed;
    top: 0; right: 0; height: 100vh;
    background: #ffffff;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    max-width: 90vw;
    animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Stepper Wizard Styles */
.stepper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}
.stepper-header::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #eaecf0;
    z-index: 0;
}
.stepper-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #d0d5dd;
    color: #667085;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.stepper-step.active .step-number {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 0 0 4px #e0e7ff;
}
.stepper-step.completed .step-number {
    border-color: #12b76a;
    background: #12b76a;
    color: #ffffff;
}
.step-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475467;
    margin-top: 0.5rem;
}
.stepper-step.active .step-title {
    color: #4f46e5;
}

/* Loading Skeletons */
.skeleton-box {
    background: linear-gradient(90deg, #f2f4f7 25%, #eaecf0 37%, #f2f4f7 63%);
    background-size: 400% 100%;
    animation: skeleton-pulse 1.4s ease infinite;
    border-radius: 6px;
}
@keyframes skeleton-pulse {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Accessibility Focus Ring */
*:focus-visible {
    outline: 2px solid #4f46e5 !important;
    outline-offset: 2px !important;
}

/* UI/UX Design System Tokens & Soft Badges */
.badge-soft-enquiry { background-color: #eff8ff !important; color: #175cd3 !important; border: 1px solid #b2ddff; }
.badge-soft-quotation { background-color: #fffaeb !important; color: #b54708 !important; border: 1px solid #fedf89; }
.badge-soft-approval { background-color: #f4f3ff !important; color: #5925dc !important; border: 1px solid #d9d6fe; }
.badge-soft-advance { background-color: #f0f9ff !important; color: #026aa2 !important; border: 1px solid #b9e6fe; }
.badge-soft-confirmation { background-color: #ecfdf3 !important; color: #027a48 !important; border: 1px solid #abefc6; }
.badge-soft-activity { background-color: #fff1f2 !important; color: #c01048 !important; border: 1px solid #fecdd3; }
.badge-soft-completed { background-color: #ecfdf3 !important; color: #027a48 !important; border: 1px solid #abefc6; }
.badge-soft-cancelled { background-color: #f8fafc !important; color: #475467 !important; border: 1px solid #e2e8f0; }

.segmented-pill-container {
    background-color: #e2e8f0;
    padding: 3px;
    border-radius: 10px;
    display: inline-flex;
    gap: 2px;
}
.segmented-pill-btn {
    border: none;
    background: transparent;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475467;
    transition: all 0.18s ease;
}
.segmented-pill-btn.active {
    background-color: #ffffff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 700;
}

/* Typography System Scale & Utility Classes */
.fs-xs { font-size: 0.735rem !important; line-height: 1.35 !important; }
.fs-sm { font-size: 0.8125rem !important; line-height: 1.4 !important; }
.fs-base { font-size: 0.875rem !important; line-height: 1.45 !important; }
.fs-md { font-size: 0.95rem !important; line-height: 1.4 !important; }
.fs-lg { font-size: 1.125rem !important; line-height: 1.35 !important; }

.fw-extrabold { font-weight: 800 !important; }
.tracking-wider { letter-spacing: 0.04em !important; }

/* Spacing Fixes for Custom Spacing Classes */
.mb-3\.5 { margin-bottom: 1rem !important; }
.p-3\.5 { padding: 1rem !important; }
.me-1\.5 { margin-right: 0.375rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }

/* Global Table & Card Typography Normalization */
.table th, .table td {
    vertical-align: middle;
}
.table th {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


