/**
 * User Panel — SaaS 2026 CSS
 * Collapsible Sidebar + Topbar + Dashboard Cards
 */

:root {
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --sidebar-hide-x: -100%;
    --sidebar-bg: #f8f9fa;
    --sidebar-text: #1d1d1f;
    --sidebar-muted: #86868b;
    --sidebar-active-bg: rgba(0, 122, 255, 0.08);
    --sidebar-active-text: #007aff;
    --topbar-height: 56px;
    --radius-card: 16px;
    --radius-pill: 980px;
    --transition-fast: 150ms ease;
    --transition-base: 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[dir="rtl"] {
    --sidebar-hide-x: 100%;
}

[data-bs-theme="dark"] {
    --sidebar-bg: #1c1c1e;
    --sidebar-text: #f5f5f7;
    --sidebar-muted: #a1a1a6;
    --sidebar-active-bg: rgba(10, 132, 255, 0.15);
    --sidebar-active-text: #0a84ff;
}

/* Prevent transition flash on page navigation */
body.no-transition,
body.no-transition *,
body.no-transition *::before,
body.no-transition *::after {
    transition: none !important;
}

/* ══════════════════════════════════════════
   SIDEBAR — Collapsible (desktop) + Slide-in (mobile)
   ══════════════════════════════════════════ */
.user-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-inline-end: 1px solid rgba(0,0,0,0.06);
    z-index: 1040;
    transition: width var(--transition-base);
}
[data-bs-theme="dark"] .user-sidebar {
    border-inline-end-color: rgba(255,255,255,0.06);
}

/* Collapsed state (desktop only) */
body.sidebar-collapsed .user-sidebar {
    width: var(--sidebar-collapsed);
}
body.sidebar-collapsed .sidebar-label {
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.15s ease, width 0.15s ease;
}
body.sidebar-collapsed .sidebar-brand {
    justify-content: center;
}
body.sidebar-collapsed .sidebar-brand i {
    margin: 0;
}
body.sidebar-collapsed .sidebar-header {
    justify-content: center;
    padding: 1rem 0.5rem 0.5rem;
}
body.sidebar-collapsed .sidebar-collapse-btn {
    display: none !important;
}
body.sidebar-collapsed .sidebar-nav .nav-link {
    justify-content: center;
    padding: 0.6rem;
}
body.sidebar-collapsed .sidebar-nav .nav-link i {
    margin: 0;
    font-size: 1.25rem;
}
body.sidebar-collapsed .sidebar-user-card {
    justify-content: center;
    padding: 0.5rem;
}
body.sidebar-collapsed .sidebar-user-info,
body.sidebar-collapsed .sidebar-user-card > a {
    display: none;
}

/* Labels visible when expanded */
.sidebar-label {
    opacity: 1;
    transition: opacity 0.2s ease 0.05s;
    white-space: nowrap;
    overflow: hidden;
}

/* Header */
.sidebar-header {
    padding: 1rem 1rem 0.5rem;
    justify-content: space-between;
    min-height: 52px;
}
.sidebar-brand {
    gap: 0.5rem;
    color: var(--sidebar-text);
    font-size: 1.05rem;
    min-width: 0;
}
.sidebar-brand i {
    font-size: 1.25rem;
}
.sidebar-collapse-btn {
    color: var(--sidebar-muted);
    text-decoration: none;
    padding: 4px;
    border-radius: 6px;
    transition: all var(--transition-fast);
    align-items: center;
    justify-content: center;
}
.sidebar-collapse-btn:hover {
    color: var(--sidebar-text);
    background: rgba(0,0,0,0.04);
}
[data-bs-theme="dark"] .sidebar-collapse-btn:hover {
    background: rgba(255,255,255,0.06);
}

.sidebar-close {
    color: var(--sidebar-muted);
    text-decoration: none;
}

/* Navigation */
.sidebar-nav {
    padding: 0.5rem 0;
}
.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    color: var(--sidebar-text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
    position: relative;
}
.sidebar-nav .nav-link:hover {
    background: var(--sidebar-active-bg);
}
.sidebar-nav .nav-link.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-text);
    font-weight: 600;
}
.sidebar-nav .nav-link i {
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 0.5rem 0.75rem;
}
[data-bs-theme="dark"] .sidebar-divider {
    background: rgba(255,255,255,0.06);
}

/* Footer / User card */
.sidebar-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 0.75rem;
}
[data-bs-theme="dark"] .sidebar-footer {
    border-top-color: rgba(255,255,255,0.06);
}
.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(0,0,0,0.03);
    transition: background var(--transition-fast);
}
.sidebar-user-card:hover {
    background: rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .sidebar-user-card {
    background: rgba(255,255,255,0.04);
}
[data-bs-theme="dark"] .sidebar-user-card:hover {
    background: rgba(255,255,255,0.07);
}

.user-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff, #5856d6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.user-avatar-mini span {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

/* ── Expand-on-hover trigger (collapsed desktop) ── */
body.sidebar-collapsed .user-sidebar:hover {
    width: var(--sidebar-width);
}
body.sidebar-collapsed .user-sidebar:hover .sidebar-label {
    opacity: 1;
    width: auto;
}
body.sidebar-collapsed .user-sidebar:hover .sidebar-header {
    justify-content: space-between;
    padding: 1rem 1rem 0.5rem;
}
body.sidebar-collapsed .user-sidebar:hover .sidebar-nav .nav-link {
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
}
body.sidebar-collapsed .user-sidebar:hover .sidebar-nav .nav-link i {
    font-size: 1.125rem;
}
body.sidebar-collapsed .user-sidebar:hover .sidebar-user-card {
    justify-content: flex-start;
    padding: 0.5rem;
}
body.sidebar-collapsed .user-sidebar:hover .sidebar-user-info,
body.sidebar-collapsed .user-sidebar:hover .sidebar-user-card > a {
    display: block;
}

/* ══════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════ */
.user-main {
    margin-inline-start: var(--sidebar-width);
    transition: margin var(--transition-base);
}
body.sidebar-collapsed .user-main {
    margin-inline-start: var(--sidebar-collapsed);
}

/* ── Topbar ── */
.user-topbar {
    z-index: 1030;
    height: var(--topbar-height);
    padding: 0 1.5rem;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .user-topbar {
    background: rgba(28,28,30,0.72);
    border-bottom-color: rgba(255,255,255,0.06);
}
.topbar-title {
    font-size: 1rem;
    letter-spacing: -0.01em;
}

/* ── Dashboard Card ── */
.dashboard-card {
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.dashboard-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

[data-bs-theme="dark"] .dashboard-card {
    border-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .dashboard-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* ── Stat Icon ── */
.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Tables ── */
.dashboard-card .table {
    margin-bottom: 0;
}

.dashboard-card .table thead th {
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem;
}

.dashboard-card .table tbody td {
    padding: 0.75rem;
    font-size: 0.875rem;
}

/* ── Form styling ── */
.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.12);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    border-color: rgba(255,255,255,0.12);
}

.form-control:focus,
.form-select:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12);
}

.input-group-text {
    border-radius: 10px 0 0 10px;
    border: 1px solid rgba(0,0,0,0.12);
}

.input-group .form-control {
    border-radius: 0 10px 10px 0;
}

/* ── Buttons ── */
.btn-primary {
    background: #007aff;
    border-color: #007aff;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.btn {
    transition: all var(--transition-fast);
    font-weight: 500;
}

/* ── Mobile Sidebar (slide-in) ── */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1035;
}

@media (max-width: 991.98px) {
    .user-sidebar {
        width: var(--sidebar-width) !important;
        transform: translateX(var(--sidebar-hide-x));
    }
    .user-sidebar.show {
        transform: translateX(0);
    }
    .user-sidebar.show ~ .sidebar-overlay,
    .sidebar-overlay.show {
        display: block;
    }
    .user-main {
        margin-inline-start: 0 !important;
    }
    .user-topbar {
        padding: 0 1rem;
    }
    /* Disable hover-expand on mobile */
    body.sidebar-collapsed .user-sidebar:hover {
        width: var(--sidebar-width) !important;
    }
    /* Hide desktop collapse button */
    .sidebar-collapse-btn { display: none !important; }
    /* Reset collapsed styles for mobile (we always use full sidebar) */
    body.sidebar-collapsed .sidebar-label {
        opacity: 1;
        width: auto;
    }
    body.sidebar-collapsed .sidebar-nav .nav-link {
        justify-content: flex-start;
        padding: 0.5rem 0.75rem;
    }
    body.sidebar-collapsed .sidebar-user-info,
    body.sidebar-collapsed .sidebar-user-card > a {
        display: block;
    }
}

/* ── Scrollbar ── */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
}

/* ── Animations ── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-content > .row,
.user-content > .dashboard-card {
    animation: fadeIn 0.3s ease;
}

/* ── Badge ── */
.badge {
    font-weight: 600;
}

/* ── Alert ── */
.alert {
    border-radius: 12px;
    border: 0;
    font-size: 0.875rem;
}

/* ══════════════════════════════════════════
   SERVICES PAGE — Tabs, Search, Cards
   ══════════════════════════════════════════ */

/* Hero Header */
.services-hero {
    animation: fadeIn 0.3s ease;
}

/* Toolbar Container */
.services-toolbar {
    padding: 0 !important;
    overflow: hidden;
}

/* Tab Navigation */
.services-tabs-wrapper {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.services-tabs-wrapper::-webkit-scrollbar {
    display: none;
}
[data-bs-theme="dark"] .services-tabs-wrapper {
    border-bottom-color: rgba(255,255,255,0.06);
}

.services-nav {
    display: flex;
    gap: 0;
    min-width: max-content;
}

.services-tab-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--sidebar-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.services-tab-link:hover {
    color: var(--sidebar-text);
    background: rgba(0,0,0,0.02);
}
[data-bs-theme="dark"] .services-tab-link:hover {
    background: rgba(255,255,255,0.03);
}
.services-tab-link.active {
    color: #007aff;
    border-bottom-color: #007aff;
    font-weight: 600;
}
[data-bs-theme="dark"] .services-tab-link.active {
    color: #0a84ff;
    border-bottom-color: #0a84ff;
}
.services-tab-link i {
    font-size: 1rem;
}

/* Tab Count Badge */
.services-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 980px;
    background: rgba(0,0,0,0.05);
    color: var(--sidebar-muted);
}
.services-tab-link.active .services-tab-count {
    background: rgba(0,122,255,0.1);
    color: #007aff;
}
[data-bs-theme="dark"] .services-tab-count {
    background: rgba(255,255,255,0.06);
}
[data-bs-theme="dark"] .services-tab-link.active .services-tab-count {
    background: rgba(10,132,255,0.15);
    color: #0a84ff;
}

/* Search Bar */
.services-search-bar {
    padding: 0.875rem 1rem;
}
.services-search-form {
    width: 100%;
}
.services-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.services-search-icon {
    position: absolute;
    left: 0.875rem;
    color: var(--sidebar-muted);
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 1;
}
.services-search-input {
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 2.5rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    background: var(--bs-body-bg);
    font-size: 0.8125rem;
    color: var(--bs-body-color);
    transition: all var(--transition-fast);
    outline: none;
}
.services-search-input::placeholder {
    color: var(--sidebar-muted);
}
.services-search-input:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0,122,255,0.08);
    background: var(--bs-body-bg);
}
[data-bs-theme="dark"] .services-search-input {
    border-color: rgba(255,255,255,0.08);
}
[data-bs-theme="dark"] .services-search-input:focus {
    border-color: #0a84ff;
    box-shadow: 0 0 0 4px rgba(10,132,255,0.1);
}
.services-search-clear {
    position: absolute;
    right: 0.75rem;
    color: var(--sidebar-muted);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    z-index: 1;
}
.services-search-clear:hover {
    color: #ff3b30;
}


/* Category Section */
.services-category {
    animation: fadeIn 0.3s ease;
}

/* Service Card — Product-style with prominent logo */
.service-card {
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
    border-radius: 14px;
}
.service-card:hover {
    border-color: rgba(0,122,255,0.2) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}
[data-bs-theme="dark"] .service-card:hover {
    border-color: rgba(10,132,255,0.25) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* Service Card Logo */
.service-card-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem 0.75rem;
}
.service-card-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(0,0,0,0.02);
    padding: 6px;
    transition: transform var(--transition-fast);
}
.service-card:hover .service-card-logo {
    transform: scale(1.08);
}
.service-card-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,122,255,0.08);
    color: #007aff;
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}
.service-card:hover .service-card-logo-placeholder {
    transform: scale(1.08);
}
[data-bs-theme="dark"] .service-card-logo-placeholder {
    background: rgba(10,132,255,0.12);
    color: #0a84ff;
}

/* Legacy icon (horizontal layout compat) */
.service-card-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(0,0,0,0.02);
    padding: 4px;
}
.service-card-icon-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,122,255,0.08);
    color: #007aff;
    font-size: 1.125rem;
}
[data-bs-theme="dark"] .service-card-icon-placeholder {
    background: rgba(10,132,255,0.12);
    color: #0a84ff;
}

/* Card Content */
.service-card-body {
    padding: 0 1rem 1rem;
    text-align: center;
}
.service-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bs-body-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.service-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: #007aff;
}
[data-bs-theme="dark"] .service-card-price {
    color: #0a84ff;
}
.service-card-delivery {
    font-size: 0.75rem;
}
.service-card-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.375rem;
}

/* Hover Arrow */
.service-card-arrow {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--transition-fast);
    color: #007aff;
    font-size: 0.75rem;
}
.service-card:hover .service-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .services-tab-link {
        padding: 0.75rem 0.875rem;
        font-size: 0.75rem;
    }
    .services-tab-link span:not(.services-tab-count) {
        /* Keep text visible on mobile */
    }
    .services-tab-count {
        font-size: 0.6rem;
    }
    .service-card-logo, .service-card-logo-placeholder {
        width: 52px;
        height: 52px;
    }
    .service-card-body {
        padding: 0 0.75rem 0.75rem;
    }
}

/* ─── Profile Tabs (SaaS 2026) ───────────────────────────────────── */
.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--user-primary) 0%, #5856d6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.profile-avatar span {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.profile-nav {
    gap: 2px;
}
.profile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    border-radius: 10px !important;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--user-text);
    transition: all 0.15s ease;
}
.profile-nav-link:hover {
    background: var(--user-hover);
    color: var(--user-primary);
}
.profile-nav-link.active {
    background: var(--user-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}
.profile-nav-link.active i {
    color: #fff;
}
.profile-nav-link i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--user-muted);
    transition: color 0.15s ease;
}
.profile-nav-link:hover i {
    color: var(--user-primary);
}

/* Mobile: horizontal scroll nav */
@media (max-width: 991.98px) {
    .profile-nav {
        flex-direction: row !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 4px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .profile-nav::-webkit-scrollbar {
        display: none;
    }
    .profile-nav-link {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
}

/* Cursor pointer for language cards */
.cursor-pointer { cursor: pointer; }


/* ══════════════════════════════════════════════════════════════════
   SaaS 2026 — Services Page Premium Styles
   ══════════════════════════════════════════════════════════════════ */

/* Hero Header 2026 */
.services-hero-2026 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0,122,255,0.05) 0%, rgba(88,86,214,0.05) 100%);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,122,255,0.1);
    animation: fadeIn 0.4s ease;
}
[data-bs-theme="dark"] .services-hero-2026 {
    background: linear-gradient(135deg, rgba(10,132,255,0.08) 0%, rgba(88,86,214,0.08) 100%);
    border-color: rgba(10,132,255,0.15);
}
.services-hero-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.services-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,122,255,0.3);
}
.services-hero-icon i {
    font-size: 1.5rem;
    color: #fff;
}
.services-hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.hero-stat-item {
    text-align: center;
}
.hero-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-body-color);
}
.hero-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sidebar-muted);
}
.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(0,0,0,0.1);
}
[data-bs-theme="dark"] .hero-stat-divider {
    background: rgba(255,255,255,0.1);
}

/* Toolbar 2026 */
.services-toolbar-2026 {
    padding: 0 !important;
    overflow: hidden;
    border-radius: var(--radius-card);
}

/* Tabs 2026 */
.services-tabs-wrapper-2026 {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.services-tabs-wrapper-2026::-webkit-scrollbar { display: none; }
[data-bs-theme="dark"] .services-tabs-wrapper-2026 {
    border-bottom-color: rgba(255,255,255,0.06);
}

.services-nav-2026 {
    display: flex;
    gap: 0;
    min-width: max-content;
    padding: 0 0.5rem;
}

.services-tab-2026 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--sidebar-muted);
    text-decoration: none;
    position: relative;
    transition: all var(--transition-fast);
}
.services-tab-2026::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    border-radius: 2px 2px 0 0;
    transition: width var(--transition-fast);
}
.services-tab-2026:hover {
    color: var(--bs-body-color);
}
.services-tab-2026.active {
    color: #007aff;
    font-weight: 600;
}
.services-tab-2026.active::after {
    width: calc(100% - 1.5rem);
}
[data-bs-theme="dark"] .services-tab-2026.active {
    color: #0a84ff;
}
.tab-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    transition: all var(--transition-fast);
}
.services-tab-2026.active .tab-icon-wrap {
    background: rgba(0,122,255,0.1);
    color: #007aff;
}
[data-bs-theme="dark"] .tab-icon-wrap {
    background: rgba(255,255,255,0.06);
}
[data-bs-theme="dark"] .services-tab-2026.active .tab-icon-wrap {
    background: rgba(10,132,255,0.15);
    color: #0a84ff;
}
.tab-count {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 980px;
    background: rgba(0,0,0,0.05);
    color: var(--sidebar-muted);
}
.services-tab-2026.active .tab-count {
    background: rgba(0,122,255,0.1);
    color: #007aff;
}
[data-bs-theme="dark"] .tab-count {
    background: rgba(255,255,255,0.06);
}
[data-bs-theme="dark"] .services-tab-2026.active .tab-count {
    background: rgba(10,132,255,0.15);
    color: #0a84ff;
}

/* Search 2026 */
.services-search-2026 {
    padding: 1rem;
    background: rgba(0,0,0,0.015);
}
[data-bs-theme="dark"] .services-search-2026 {
    background: rgba(255,255,255,0.02);
}
.search-input-2026 {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input-2026 .search-icon {
    position: absolute;
    left: 1rem;
    color: var(--sidebar-muted);
    font-size: 0.9rem;
    pointer-events: none;
}
.search-input-2026 .search-field {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    background: var(--bs-body-bg);
    font-size: 0.875rem;
    color: var(--bs-body-color);
    outline: none;
    transition: all var(--transition-fast);
}
.search-input-2026 .search-field::placeholder {
    color: var(--sidebar-muted);
}
.search-input-2026 .search-field:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0,122,255,0.1);
}
[data-bs-theme="dark"] .search-input-2026 .search-field {
    border-color: rgba(255,255,255,0.08);
}
[data-bs-theme="dark"] .search-input-2026 .search-field:focus {
    border-color: #0a84ff;
    box-shadow: 0 0 0 4px rgba(10,132,255,0.15);
}
.search-shortcut {
    position: absolute;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    font-family: inherit;
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
    color: var(--sidebar-muted);
}
[data-bs-theme="dark"] .search-shortcut {
    background: rgba(255,255,255,0.08);
}
.search-clear {
    position: absolute;
    right: 0.75rem;
    color: var(--sidebar-muted);
    font-size: 1rem;
    transition: color var(--transition-fast);
}
.search-clear:hover {
    color: #ff3b30;
}

/* Search Results Banner */
.search-results-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0,122,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(0,122,255,0.1);
}
.search-result-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0,122,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007aff;
}
.search-result-text {
    font-size: 0.875rem;
    color: var(--bs-body-color);
}
.search-clear-btn {
    font-size: 0.8125rem;
    color: var(--sidebar-muted);
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}
.search-clear-btn:hover {
    background: rgba(0,0,0,0.05);
    color: #ff3b30;
}

/* Empty State 2026 */
.empty-state-2026 {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .empty-state-2026 {
    border-color: rgba(255,255,255,0.06);
}
.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,122,255,0.1) 0%, rgba(88,86,214,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.empty-state-icon i {
    font-size: 2rem;
    color: #007aff;
}
.empty-state-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.empty-state-desc {
    font-size: 0.875rem;
    color: var(--sidebar-muted);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}
.empty-state-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

/* Category 2026 */
.services-category-2026 {
    animation: fadeIn 0.4s ease;
}
.category-header-2026 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .category-header-2026 {
    border-bottom-color: rgba(255,255,255,0.06);
}
.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(0,0,0,0.02);
    padding: 4px;
}
.category-icon-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0,122,255,0.1) 0%, rgba(88,86,214,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007aff;
}
.category-title {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
    color: var(--bs-body-color);
}
.category-count {
    font-size: 0.7rem;
    color: var(--sidebar-muted);
    margin-left: auto;
}

/* Service Cards 2026 */
.service-card-2026 {
    position: relative;
    background: var(--bs-body-bg);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card-2026:hover {
    border-color: rgba(0,122,255,0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
[data-bs-theme="dark"] .service-card-2026 {
    border-color: rgba(255,255,255,0.06);
}
[data-bs-theme="dark"] .service-card-2026:hover {
    border-color: rgba(10,132,255,0.25);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.service-type-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.service-type-badge.badge-primary {
    background: rgba(0,122,255,0.1);
    color: #007aff;
}
.service-type-badge.badge-success {
    background: rgba(52,199,89,0.1);
    color: #34c759;
}
.service-type-badge.badge-info {
    background: rgba(50,173,230,0.1);
    color: #32ade6;
}

.service-new-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff3b30, #ff6b6b);
    color: #fff;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.service-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 1rem;
}
.service-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(0,0,0,0.02);
    padding: 8px;
    transition: transform 0.3s ease;
}
.service-card-2026:hover .service-logo {
    transform: scale(1.08);
}
.service-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,122,255,0.08) 0%, rgba(88,86,214,0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007aff;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}
.service-card-2026:hover .service-logo-placeholder {
    transform: scale(1.08);
}

.service-content {
    padding: 0 1rem 1.25rem;
    text-align: center;
}
.service-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bs-body-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
    min-height: 2.45em;
}
.service-price {
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007aff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.service-delivery {
    font-size: 0.75rem;
    color: var(--sidebar-muted);
    margin-top: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.service-arrow {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff, #5856d6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}
.service-card-2026:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* ══════════════════════════════════════════════════════════════════
   SaaS 2026 — Service Detail Page
   ══════════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.service-breadcrumb-2026 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}
.breadcrumb-link {
    color: var(--sidebar-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.breadcrumb-link:hover {
    color: #007aff;
}
.breadcrumb-separator {
    font-size: 0.625rem;
    color: var(--sidebar-muted);
}
.breadcrumb-current {
    color: var(--bs-body-color);
    font-weight: 500;
}

/* Service Detail Card */
.service-detail-card-2026 {
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 1.5rem;
    animation: fadeIn 0.4s ease;
}
[data-bs-theme="dark"] .service-detail-card-2026 {
    border-color: rgba(255,255,255,0.06);
}

.service-header-2026 {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.service-logo-container {
    position: relative;
    flex-shrink: 0;
}
.service-detail-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(0,0,0,0.02);
    padding: 8px;
}
.service-detail-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0,122,255,0.1) 0%, rgba(88,86,214,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #007aff;
}
.service-type-indicator {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 3px solid var(--bs-body-bg);
}
.service-type-indicator.type-primary {
    background: #007aff;
    color: #fff;
}
.service-type-indicator.type-success {
    background: #34c759;
    color: #fff;
}
.service-type-indicator.type-info {
    background: #32ade6;
    color: #fff;
}

.service-header-content {
    flex: 1;
    min-width: 0;
}
.service-detail-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.service-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    color: var(--sidebar-muted);
}
[data-bs-theme="dark"] .service-category-badge {
    background: rgba(255,255,255,0.06);
}

/* Stats */
.service-stats-2026 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.stat-box {
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}
.stat-box.stat-price {
    background: linear-gradient(135deg, rgba(0,122,255,0.08) 0%, rgba(88,86,214,0.08) 100%);
}
.stat-box.stat-delivery {
    background: rgba(0,0,0,0.03);
}
[data-bs-theme="dark"] .stat-box.stat-delivery {
    background: rgba(255,255,255,0.04);
}
.stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sidebar-muted);
    margin-bottom: 0.25rem;
}
.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}
.stat-box.stat-price .stat-value {
    background: linear-gradient(135deg, #007aff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sections */
.service-section-2026 {
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    animation: fadeIn 0.4s ease;
}
[data-bs-theme="dark"] .service-section-2026 {
    border-color: rgba(255,255,255,0.06);
}
.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: rgba(0,0,0,0.02);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--sidebar-muted);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .section-header {
    background: rgba(255,255,255,0.02);
    border-bottom-color: rgba(255,255,255,0.06);
}
.section-content {
    padding: 1.25rem;
}
.section-content.prose {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--bs-body-color);
}

/* Features Grid */
.features-grid-2026 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}
.feature-item-2026 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    border-radius: 10px;
    background: rgba(0,0,0,0.02);
    transition: all var(--transition-fast);
}
[data-bs-theme="dark"] .feature-item-2026 {
    background: rgba(255,255,255,0.03);
}
.feature-item-2026:hover {
    transform: translateY(-2px);
}
.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.feature-item-2026.feature-success .feature-icon {
    background: rgba(52,199,89,0.1);
    color: #34c759;
}
.feature-item-2026.feature-danger .feature-icon {
    background: rgba(255,59,48,0.1);
    color: #ff3b30;
}
.feature-item-2026.feature-info .feature-icon {
    background: rgba(50,173,230,0.1);
    color: #32ade6;
}
.feature-item-2026.feature-warning .feature-icon {
    background: rgba(255,159,10,0.1);
    color: #ff9f0a;
}
.feature-item-2026.feature-secondary .feature-icon {
    background: rgba(142,142,147,0.1);
    color: #8e8e93;
}
.feature-item-2026.feature-primary .feature-icon {
    background: rgba(0,122,255,0.1);
    color: #007aff;
}
.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.feature-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-body-color);
}
.feature-desc {
    font-size: 0.7rem;
    color: var(--sidebar-muted);
}

/* Download Card */
.download-card-2026 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    gap: 1rem;
}
[data-bs-theme="dark"] .download-card-2026 {
    border-color: rgba(255,255,255,0.06);
}
.download-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.download-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,122,255,0.1) 0%, rgba(88,86,214,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007aff;
    font-size: 1.25rem;
}
.download-title {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
}
.download-filename {
    display: block;
    font-size: 0.75rem;
    color: var(--sidebar-muted);
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    background: linear-gradient(135deg, #007aff, #5856d6);
    color: #fff;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,122,255,0.3);
    color: #fff;
}

/* Order Card */
.order-card-2026 {
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    animation: fadeIn 0.4s ease 0.1s both;
}
[data-bs-theme="dark"] .order-card-2026 {
    border-color: rgba(255,255,255,0.06);
}
.order-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(0,122,255,0.05) 0%, rgba(88,86,214,0.05) 100%);
    font-weight: 600;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .order-header {
    background: linear-gradient(135deg, rgba(10,132,255,0.08) 0%, rgba(88,86,214,0.08) 100%);
    border-bottom-color: rgba(255,255,255,0.06);
}
.order-header i {
    color: #007aff;
}
.order-form-2026 {
    padding: 1.25rem;
}

/* Form Elements 2026 */
.form-group-2026 {
    margin-bottom: 1rem;
}
.form-label-2026 {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--bs-body-color);
}
.form-label-2026 .required {
    color: #ff3b30;
}
.input-wrapper {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sidebar-muted);
    font-size: 0.9375rem;
    pointer-events: none;
}
.form-input-2026 {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    outline: none;
    transition: all var(--transition-fast);
}
.input-wrapper .form-input-2026 {
    padding-left: 2.5rem;
}
.form-input-2026:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0,122,255,0.1);
}
[data-bs-theme="dark"] .form-input-2026 {
    border-color: rgba(255,255,255,0.1);
}
[data-bs-theme="dark"] .form-input-2026:focus {
    border-color: #0a84ff;
    box-shadow: 0 0 0 4px rgba(10,132,255,0.15);
}
.form-textarea-2026 {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: all var(--transition-fast);
}
.form-textarea-2026:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0,122,255,0.1);
}
.form-select-2026 {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    outline: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.form-select-2026:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0,122,255,0.1);
}
.input-hint {
    font-size: 0.75rem;
    color: var(--sidebar-muted);
    margin-top: 0.375rem;
}

/* Radio & Checkbox 2026 */
.radio-group-2026 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.radio-item-2026 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.radio-item-2026 input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #007aff;
}
.radio-label {
    font-size: 0.875rem;
}

.checkbox-2026 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}
.checkbox-2026 input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #007aff;
    flex-shrink: 0;
    margin-top: 2px;
}
.checkbox-label {
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Terms Box */
.terms-box-2026 {
    padding: 1rem;
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
    margin-bottom: 1rem;
}
[data-bs-theme="dark"] .terms-box-2026 {
    background: rgba(255,255,255,0.03);
}
.terms-link {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
}
.terms-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn-2026 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: #fff;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.submit-btn-2026:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,122,255,0.35);
}
.submit-btn-2026:active {
    transform: translateY(0);
}
.btn-price {
    padding: 0.25rem 0.625rem;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    font-size: 0.8125rem;
}

/* Modal 2026 */
.modal-2026 {
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
}
.modal-2026 .modal-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.modal-2026 .modal-body {
    padding: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.7;
}
.modal-2026 .modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* Responsive 2026 */
@media (max-width: 767.98px) {
    .services-hero-2026 {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .services-hero-content {
        flex-direction: column;
        text-align: center;
    }
    .services-hero-stats {
        width: 100%;
        justify-content: center;
    }
    .services-tab-2026 {
        padding: 0.875rem 1rem;
    }
    .tab-text {
        display: none;
    }
    .service-header-2026 {
        flex-direction: column;
        text-align: center;
    }
    .service-logo-container {
        margin: 0 auto;
    }
    .features-grid-2026 {
        grid-template-columns: 1fr;
    }
    .download-card-2026 {
        flex-direction: column;
        text-align: center;
    }
    .download-info {
        flex-direction: column;
    }
}


/* ══════════════════════════════════════════════════════════════════
   SaaS 2026 — Order View Page (Compact Design)
   ══════════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.order-breadcrumb-2026 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    animation: fadeIn 0.4s ease;
}
.order-breadcrumb-2026 .breadcrumb-link {
    color: var(--sidebar-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.order-breadcrumb-2026 .breadcrumb-link:hover { color: #007aff; }
.order-breadcrumb-2026 .breadcrumb-separator { font-size: 0.625rem; color: var(--sidebar-muted); }
.order-breadcrumb-2026 .breadcrumb-current { color: var(--bs-body-color); font-weight: 600; }

/* Compact Order Card */
.order-compact-card {
    position: relative;
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 1.25rem;
    animation: fadeIn 0.4s ease;
    overflow: hidden;
}
[data-bs-theme="dark"] .order-compact-card { border-color: rgba(255,255,255,0.06); }

.order-compact-card .compact-status-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
}
.order-compact-card.status-primary .compact-status-line { background: linear-gradient(90deg, #007aff, #5856d6); }
.order-compact-card.status-warning .compact-status-line { background: linear-gradient(90deg, #ff9f0a, #ffcc00); }
.order-compact-card.status-success .compact-status-line { background: linear-gradient(90deg, #34c759, #30d158); }
.order-compact-card.status-danger .compact-status-line { background: linear-gradient(90deg, #ff3b30, #ff6b6b); }
.order-compact-card.status-secondary .compact-status-line { background: linear-gradient(90deg, #8e8e93, #aeaeb2); }

.order-compact-card .compact-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.order-compact-card .compact-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.order-compact-card.status-primary .compact-icon { background: rgba(0,122,255,0.1); color: #007aff; }
.order-compact-card.status-warning .compact-icon { background: rgba(255,159,10,0.1); color: #ff9f0a; }
.order-compact-card.status-success .compact-icon { background: rgba(52,199,89,0.1); color: #34c759; }
.order-compact-card.status-danger .compact-icon { background: rgba(255,59,48,0.1); color: #ff3b30; }
.order-compact-card.status-secondary .compact-icon { background: rgba(142,142,147,0.1); color: #8e8e93; }

.order-compact-card .compact-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.order-compact-card .order-id {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-body-color);
}
.order-compact-card .compact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.compact-badge.badge-primary { background: rgba(0,122,255,0.1); color: #007aff; }
.compact-badge.badge-warning { background: rgba(255,159,10,0.1); color: #ff9f0a; }
.compact-badge.badge-success { background: rgba(52,199,89,0.1); color: #34c759; }
.compact-badge.badge-danger { background: rgba(255,59,48,0.1); color: #ff3b30; }
.compact-badge.badge-secondary { background: rgba(142,142,147,0.1); color: #8e8e93; }

.order-compact-card .compact-service {
    font-size: 0.8125rem;
    color: var(--sidebar-muted);
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-compact-card .compact-details {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.order-compact-card .compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
}
[data-bs-theme="dark"] .order-compact-card .compact-row { background: rgba(255,255,255,0.03); }
.order-compact-card .compact-row.highlight {
    background: linear-gradient(135deg, rgba(52,199,89,0.08) 0%, rgba(48,209,88,0.08) 100%);
    border: 1px solid rgba(52,199,89,0.15);
}
.order-compact-card .compact-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sidebar-muted);
}
.order-compact-card .compact-value {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-body-color);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.order-compact-card .compact-value.duration-value {
    color: #34c759;
    font-weight: 600;
}
.order-compact-card .compact-value.price-value {
    color: #007aff;
    font-weight: 600;
}

.imei-inline {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    background: rgba(0,122,255,0.08);
    border-radius: 4px;
    color: #007aff;
}
.copy-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border: none;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    color: var(--sidebar-muted);
    font-size: 0.6875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.copy-mini:hover { background: rgba(0,122,255,0.1); color: #007aff; }

/* Live Indicator */
.order-compact-card .live-indicator {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: var(--sidebar-muted);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .order-compact-card .live-indicator { border-top-color: rgba(255,255,255,0.06); }
.live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #34c759;
    animation: livePulse 2s ease-in-out infinite;
}
.live-dot.error { background: #ff9f0a; animation: none; }
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Compact Actions */
.order-compact-card .compact-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .order-compact-card .compact-actions { border-top-color: rgba(255,255,255,0.06); }
.order-compact-card .compact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    color: var(--sidebar-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.order-compact-card .compact-btn:hover {
    background: rgba(0,122,255,0.1);
    color: #007aff;
}
.order-compact-card .compact-btn.primary {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: #fff;
}
.order-compact-card .compact-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,122,255,0.35);
    color: #fff;
}
[data-bs-theme="dark"] .order-compact-card .compact-btn { background: rgba(255,255,255,0.05); }

/* Reply Card */
.order-reply-card-2026 {
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    animation: fadeIn 0.4s ease;
    height: 100%;
}
[data-bs-theme="dark"] .order-reply-card-2026 { border-color: rgba(255,255,255,0.06); }

.order-reply-card-2026 .card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: rgba(0,0,0,0.02);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--sidebar-muted);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .order-reply-card-2026 .card-header {
    background: rgba(255,255,255,0.02);
    border-bottom-color: rgba(255,255,255,0.06);
}
.order-reply-card-2026 .card-header .copy-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--bs-body-bg);
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--sidebar-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.order-reply-card-2026 .card-header .copy-btn:hover {
    background: rgba(0,122,255,0.05);
    border-color: rgba(0,122,255,0.2);
    color: #007aff;
}

.order-reply-card-2026 .card-body { padding: 1rem; }

.reply-box {
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    line-height: 1.7;
}
.reply-box.reply-success { background: rgba(52,199,89,0.08); border: 1px solid rgba(52,199,89,0.2); }
.reply-box.reply-error { background: rgba(255,59,48,0.08); border: 1px solid rgba(255,59,48,0.2); }
.reply-box.reply-default { background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.06); }
[data-bs-theme="dark"] .reply-box.reply-default { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
.reply-content { white-space: pre-wrap; word-break: break-word; }

/* Waiting State */
.waiting-state {
    padding: 2.5rem 1rem;
    text-align: center;
}
.waiting-spinner {
    position: relative;
    width: 64px; height: 64px;
    margin: 0 auto 1.25rem;
}
.waiting-spinner .spinner-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.05);
    border-top-color: #007aff;
    animation: spinnerRotate 1.2s linear infinite;
}
.waiting-spinner.spinner-processing .spinner-ring { border-top-color: #ff9f0a; }
@keyframes spinnerRotate { to { transform: rotate(360deg); } }
.waiting-spinner .spinner-icon {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: #007aff;
}
.waiting-spinner.spinner-processing .spinner-icon { color: #ff9f0a; }
.waiting-title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.375rem; }
.waiting-title.text-pending { color: #007aff; }
.waiting-title.text-processing { color: #ff9f0a; }
.waiting-desc { font-size: 0.8125rem; color: var(--sidebar-muted); margin: 0; }

/* Responsive Order View */
@media (max-width: 991.98px) {
    .order-compact-card .compact-service { white-space: normal; }
}
@media (max-width: 767.98px) {
    .order-compact-card { margin-bottom: 1rem; }
}


/* ══════════════════════════════════════════════════════════════════
   SaaS 2026 — Financial Statement Page
   ══════════════════════════════════════════════════════════════════ */

/* Summary Cards */
.funds-summary-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
    animation: fadeIn 0.4s ease;
}
[data-bs-theme="dark"] .funds-summary-card { border-color: rgba(255,255,255,0.06); }
.funds-summary-card .summary-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.funds-summary-card .summary-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}
.funds-summary-card .summary-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sidebar-muted);
}
.funds-summary-card .summary-value {
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}
.funds-summary-card.funds-add-btn {
    justify-content: center;
}

/* Filter Section */
.statement-filters-card {
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 1rem 1.25rem;
    animation: fadeIn 0.4s ease;
}
[data-bs-theme="dark"] .statement-filters-card { border-color: rgba(255,255,255,0.06); }

.filter-tabs {
    display: flex;
    gap: 0.25rem;
    background: rgba(0,0,0,0.04);
    padding: 0.25rem;
    border-radius: 10px;
}
[data-bs-theme="dark"] .filter-tabs { background: rgba(255,255,255,0.05); }
.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--sidebar-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.filter-tab:hover { color: var(--bs-body-color); background: rgba(0,0,0,0.04); }
.filter-tab.active {
    background: var(--bs-body-bg);
    color: #007aff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
[data-bs-theme="dark"] .filter-tab:hover { background: rgba(255,255,255,0.08); }
[data-bs-theme="dark"] .filter-tab.active { background: rgba(255,255,255,0.1); }
.filter-tab i { font-size: 0.875rem; }

/* Statement Table */
.statement-card {
    background: var(--bs-body-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    animation: fadeIn 0.4s ease;
}
[data-bs-theme="dark"] .statement-card { border-color: rgba(255,255,255,0.06); }

.statement-table {
    margin: 0;
}
.statement-table thead th {
    padding: 0.875rem 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sidebar-muted);
    background: rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .statement-table thead th {
    background: rgba(255,255,255,0.02);
    border-bottom-color: rgba(255,255,255,0.06);
}

.statement-row td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
[data-bs-theme="dark"] .statement-row td { border-bottom-color: rgba(255,255,255,0.04); }
.statement-row:last-child td { border-bottom: none; }
.statement-row:hover { background: rgba(0,0,0,0.01); }
[data-bs-theme="dark"] .statement-row:hover { background: rgba(255,255,255,0.02); }

/* Icon Cell */
.statement-icon-cell { width: 50px; }
.statement-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9375rem;
    color: #fff;
}
.statement-icon.bg-primary { background: linear-gradient(135deg, #007aff, #5856d6); }
.statement-icon.bg-success { background: linear-gradient(135deg, #34c759, #30d158); }
.statement-icon.bg-danger { background: linear-gradient(135deg, #ff3b30, #ff6b6b); }
.statement-icon.bg-warning { background: linear-gradient(135deg, #ff9f0a, #ffcc00); }
.statement-icon.bg-info { background: linear-gradient(135deg, #5ac8fa, #64d2ff); }
.statement-icon.bg-secondary { background: linear-gradient(135deg, #8e8e93, #aeaeb2); }
.statement-icon.bg-purple { background: linear-gradient(135deg, #af52de, #bf5af2); }

/* Date Cell */
.statement-date {
    white-space: nowrap;
}
.statement-date .date-primary {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-body-color);
}
.statement-date .date-secondary {
    display: block;
    font-size: 0.6875rem;
    color: var(--sidebar-muted);
}

/* Ref ID Cell */
.statement-refid {
    white-space: nowrap;
}
.refid-link {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(0,122,255,0.08);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #007aff;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.refid-link:hover {
    background: rgba(0,122,255,0.15);
    color: #0056b3;
}
.refid-text {
    font-size: 0.75rem;
    color: var(--sidebar-muted);
}

/* Description Cell */
.statement-desc {
    max-width: 300px;
}
.desc-main {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-body-color);
    line-height: 1.4;
}
.desc-link {
    color: var(--bs-body-color);
    text-decoration: none;
}
.desc-link:hover { color: #007aff; }
.desc-note {
    font-size: 0.6875rem;
    color: var(--sidebar-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
}
.desc-note.admin-note { color: #34c759; }

/* Amount Cell */
.statement-amount .amount-value {
    font-size: 0.875rem;
    font-weight: 600;
}
.amount-cr { color: #34c759; }
.amount-dr { color: #ff3b30; }

/* Balance Cell */
.statement-balance {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-body-color);
}

/* Type Badge */
.type-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.type-badge.type-cr { background: rgba(52,199,89,0.12); color: #34c759; }
.type-badge.type-dr { background: rgba(255,59,48,0.12); color: #ff3b30; }

/* Pagination */
.statement-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .statement-pagination { border-top-color: rgba(255,255,255,0.06); }
.pagination-info {
    font-size: 0.75rem;
    color: var(--sidebar-muted);
}
.statement-pagination .page-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 767.98px) {
    .funds-summary-card { padding: 0.875rem 1rem; }
    .funds-summary-card .summary-value { font-size: 1rem; }
    .filter-tabs { flex-wrap: wrap; }
    .filter-tab { padding: 0.375rem 0.625rem; font-size: 0.75rem; }
    .filter-tab span { display: none; }
    .statement-filters-card .row { gap: 0.5rem !important; }
    .statement-table thead th { padding: 0.75rem 0.5rem; font-size: 0.625rem; }
    .statement-row td { padding: 0.75rem 0.5rem; }
    .statement-desc { max-width: 150px; }
    .desc-main { font-size: 0.75rem; }
    .statement-amount .amount-value { font-size: 0.75rem; }
    .statement-balance { font-size: 0.75rem; }
}


/* ==========================================================================
   Dashboard Page — SaaS 2026
   ========================================================================== */

/* ── Welcome Header ── */
.dashboard-welcome-2026 {
    background: linear-gradient(135deg, var(--bs-primary), #4361ee);
    border-radius: var(--radius-card, 16px);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25);
}
[data-bs-theme="dark"] .dashboard-welcome-2026 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(67, 97, 238, 0.2));
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.welcome-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.welcome-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
[data-bs-theme="dark"] .welcome-avatar {
    background: rgba(99, 102, 241, 0.5);
}
.welcome-greeting {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
}
.welcome-subtitle {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}
.welcome-actions {
    display: flex;
    gap: 0.625rem;
}
.action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.action-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}
.action-pill.primary {
    background: #fff;
    color: var(--bs-primary);
    border-color: #fff;
}
.action-pill.primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--bs-primary);
}
[data-bs-theme="dark"] .action-pill.primary {
    background: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

/* ── Stat Cards ── */
.dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-card, 16px);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.dashboard-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}
.dashboard-stat-card.stat-primary::before { background: var(--bs-primary); }
.dashboard-stat-card.stat-warning::before { background: var(--bs-warning); }
.dashboard-stat-card.stat-success::before { background: var(--bs-success); }
.dashboard-stat-card.stat-info::before { background: var(--bs-info); }

.dashboard-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.dashboard-stat-card.clickable:hover {
    border-color: var(--bs-warning);
}
.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.stat-primary .stat-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
    color: var(--bs-primary);
}
.stat-warning .stat-icon {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    color: var(--bs-warning);
}
.stat-success .stat-icon {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(25, 135, 84, 0.05));
    color: var(--bs-success);
}
.stat-info .stat-icon {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.15), rgba(13, 202, 240, 0.05));
    color: var(--bs-info);
}
.stat-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}
.stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--bs-body-color);
}
.stat-primary .stat-value { color: var(--bs-primary); }
.stat-warning .stat-value { color: var(--bs-warning); }
.stat-success .stat-value { color: var(--bs-success); }
.stat-info .stat-value { color: var(--bs-info); }
.stat-arrow {
    color: var(--bs-secondary-color);
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.dashboard-stat-card:hover .stat-arrow {
    transform: translateX(4px);
}

/* ── Dashboard Cards ── */
.dashboard-card-2026 {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--radius-card, 16px);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}
.dashboard-card-2026:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.card-header-2026 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.5rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}
.header-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bs-body-color);
}
.header-title i {
    color: var(--bs-primary);
}
.header-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: color 0.15s ease;
}
.header-link:hover {
    color: var(--bs-primary);
}
.card-body-2026 {
    padding: 1.5rem;
}

/* ── Order Stats Grid ── */
.order-stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.order-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
}
.order-stat-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bs-tertiary-bg);
    border: 2px solid var(--bs-border-color);
    transition: all 0.25s ease;
}
.order-stat-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-right-color: currentColor;
}
.ring-total::before { border-top-color: var(--bs-body-color); border-right-color: var(--bs-body-color); }
.ring-success::before { border-top-color: var(--bs-success); border-right-color: var(--bs-success); }
.ring-pending::before { border-top-color: var(--bs-warning); border-right-color: var(--bs-warning); }
.ring-failed::before { border-top-color: var(--bs-danger); border-right-color: var(--bs-danger); }

.order-stat-number {
    font-size: 1rem;
    font-weight: 700;
}
.ring-total .order-stat-number { color: var(--bs-body-color); }
.ring-success .order-stat-number { color: var(--bs-success); }
.ring-pending .order-stat-number { color: var(--bs-warning); }
.ring-failed .order-stat-number { color: var(--bs-danger); }

.order-stat-label {
    font-size: 0.6875rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ── Success Rate Bar ── */
.success-rate-bar {
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--bs-border-color);
}
.rate-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}
.rate-label {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}
.rate-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-success);
}
.rate-track {
    height: 8px;
    border-radius: 50px;
    background: var(--bs-tertiary-bg);
    overflow: hidden;
}
.rate-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--bs-success), #10b981);
    transition: width 0.8s ease-out;
}

/* ── Quick Actions Grid ── */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0.75rem;
    border-radius: 12px;
    background: var(--bs-tertiary-bg);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.quick-action-btn:hover {
    transform: translateY(-3px);
    background: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.qa-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}
.qa-icon.bg-primary { background: linear-gradient(135deg, var(--bs-primary), #4361ee); }
.qa-icon.bg-success { background: linear-gradient(135deg, var(--bs-success), #10b981); }
.qa-icon.bg-info { background: linear-gradient(135deg, var(--bs-info), #06b6d4); }
.qa-icon.bg-warning { background: linear-gradient(135deg, var(--bs-warning), #f59e0b); }
.qa-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-body-color);
    text-align: center;
}

/* ── Live Pulse Indicator ── */
.live-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bs-success);
    position: relative;
    flex-shrink: 0;
}
.live-pulse::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--bs-success);
    opacity: 0.4;
    animation: dashPulse 2s infinite;
}
@keyframes dashPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0; }
}

/* ── Service Feed ── */
.service-feed-body {
    max-height: 420px;
    overflow-y: auto;
    padding: 0.875rem !important;
}
.service-feed-body::-webkit-scrollbar {
    width: 4px;
}
.service-feed-body::-webkit-scrollbar-thumb {
    background: var(--bs-border-color);
    border-radius: 4px;
}
.service-feed-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.service-feed-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: var(--bs-tertiary-bg);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.service-feed-item:hover {
    transform: translateX(4px);
    background: var(--bs-body-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.feed-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.625rem;
    font-size: 0.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    padding: 0.1875rem 0.4375rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
    line-height: 1;
}
.feed-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bs-primary), #4361ee);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.feed-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.feed-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.feed-cat {
    font-size: 0.6875rem;
    color: var(--bs-secondary-color);
}
.feed-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
    flex-shrink: 0;
}
.feed-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--bs-primary);
}
.feed-time {
    font-size: 0.625rem;
    color: var(--bs-secondary-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Feed Empty State */
.feed-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 1rem;
    color: var(--bs-secondary-color);
    text-align: center;
}
.feed-empty i {
    font-size: 2.5rem;
    opacity: 0.3;
}
.feed-empty span {
    font-size: 0.875rem;
}

/* ── Dashboard Responsive ── */
@media (max-width: 991.98px) {
    .dashboard-welcome-2026 {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .welcome-actions {
        width: 100%;
    }
    .order-stats-grid {
        flex-wrap: wrap;
    }
    .order-stat-ring {
        width: 48px;
        height: 48px;
    }
    .order-stat-number {
        font-size: 0.875rem;
    }
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    .dashboard-welcome-2026 {
        padding: 1.25rem;
    }
    .welcome-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    .welcome-greeting {
        font-size: 1.125rem;
    }
    .welcome-subtitle {
        font-size: 0.8125rem;
    }
    .action-pill {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
    .dashboard-stat-card {
        padding: 1rem;
    }
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    .stat-value {
        font-size: 1.125rem;
    }
    .stat-label {
        font-size: 0.6875rem;
    }
    .card-header-2026 {
        padding: 1rem 1.125rem;
    }
    .header-title {
        font-size: 0.875rem;
    }
    .card-body-2026 {
        padding: 1rem;
    }
    .order-stats-grid {
        gap: 0.375rem;
    }
    .order-stat-ring {
        width: 42px;
        height: 42px;
    }
    .order-stat-number {
        font-size: 0.75rem;
    }
    .order-stat-label {
        font-size: 0.5625rem;
    }
    .quick-action-btn {
        padding: 1rem 0.5rem;
    }
    .qa-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .qa-label {
        font-size: 0.6875rem;
    }
    .service-feed-body {
        max-height: 350px;
    }
    .service-feed-item {
        padding: 0.75rem;
        gap: 0.625rem;
    }
    .feed-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    .feed-name {
        font-size: 0.75rem;
    }
    .feed-price {
        font-size: 0.75rem;
    }
}

/* ==========================================
   Service Feed 2026 - Announcement Style
   ========================================== */
.service-feed-item-2026 {
    border-radius: 0.5rem;
    margin-left: -0.5rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem;
    transition: all 0.2s ease;
}
.service-feed-item-2026:hover {
    background: var(--bs-tertiary-bg);
}
.service-feed-item-2026:hover .fw-semibold {
    color: var(--bs-primary) !important;
}
#service-feed-list {
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
}
#service-feed-list::-webkit-scrollbar {
    width: 4px;
}
#service-feed-list::-webkit-scrollbar-track {
    background: transparent;
}
#service-feed-list::-webkit-scrollbar-thumb {
    background: var(--bs-border-color);
    border-radius: 2px;
}
@media (max-width: 991.98px) {
    #service-feed-list {
        max-height: 280px;
    }
}
