/* ═══════════════════════════════════════════════════════════════════════════
   SMM Panel — Premium SaaS Design System (Linear / Notion inspired)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ─── Design Tokens ─── */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
    --primary-soft: #EEF2FF;
    --primary-hover: #F5F3FF;
    --secondary: #7C3AED;
    --accent: #06B6D4;
    --accent-light: #22D3EE;
    --bg: #F5F7FA;
    --card: #FFFFFF;
    --text: #111827;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 20px rgba(79, 70, 229, 0.12), 0 8px 32px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.2s ease;
    --focus-ring: 0 0 0 3px rgba(79, 70, 229, 0.18);
    --navbar-height: 64px;
    --sidebar-width: 260px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

::selection {
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary-dark);
}

/* ─── Typography ─── */
.text-gradient,
.logo-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 55%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: var(--primary-soft);
    border-radius: 50px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
}

/* ─── Navbar (User Panel) ─── */
.navbar-smm {
    background: var(--card) !important;
    border-bottom: 1px solid var(--border);
    padding: 0.625rem 0;
    min-height: var(--navbar-height);
    box-shadow: none;
}

.navbar-smm .navbar-brand,
.navbar-smm .logo-gradient {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--primary) !important;
    -webkit-text-fill-color: unset;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 55%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.navbar-smm .logo-icon {
    -webkit-text-fill-color: initial;
    font-size: 1.1rem;
}

.navbar-smm .nav-link-premium {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    text-decoration: none;
}

.navbar-smm .nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.navbar-smm .nav-link-premium:hover,
.navbar-smm .nav-link-premium.active {
    color: var(--primary) !important;
    background: transparent;
}

.navbar-smm .nav-link-premium:hover::after,
.navbar-smm .nav-link-premium.active::after {
    transform: scaleX(1);
}

.navbar-smm .navbar-toggler {
    padding: 0.375rem 0.5rem;
    transition: var(--transition);
}

.navbar-smm .navbar-toggler:focus {
    box-shadow: var(--focus-ring);
}

/* Wallet pill */
.wallet-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.wallet-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.38);
    color: #fff !important;
}

.wallet-pill i {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Legacy balance badge */
.balance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

/* Profile trigger & avatar */
.profile-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.profile-trigger:hover {
    background: var(--primary-hover);
}

.profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
    transition: var(--transition);
}

.profile-trigger:hover .profile-avatar {
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.35);
}

/* ─── Notification Bell & Dropdown ─── */
.notif-dropdown {
    position: relative;
}

.btn-notif {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--text-muted);
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-notif:hover {
    color: var(--primary);
    border-color: rgba(79, 70, 229, 0.25);
    background: var(--primary-hover);
}

.btn-notif:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--danger);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card);
    line-height: 1;
}

.notif-menu {
    width: 360px;
    max-width: calc(100vw - 2rem);
    padding: 0 !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
    overflow: hidden;
    margin-top: 0.5rem !important;
}

.notif-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.notif-menu-header strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.btn-notif-mark {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-notif-mark:hover {
    background: var(--primary-soft);
}

.notif-menu-body {
    max-height: 340px;
    overflow-y: auto;
}

.notif-menu-body::-webkit-scrollbar {
    width: 4px;
}

.notif-menu-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.notif-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background: var(--primary-hover);
}

.notif-item.unread {
    background: rgba(79, 70, 229, 0.04);
    border-left: 3px solid var(--primary);
}

.notif-item.unread:hover {
    background: var(--primary-hover);
}

.notif-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.notif-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.notif-msg {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-time {
    font-size: 0.6875rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}

.notif-menu-footer {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg);
    border-top: 1px solid var(--border);
    transition: var(--transition);
}

.notif-menu-footer:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

/* Notification icons by type */
.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9375rem;
}

.notif-icon-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.notif-icon-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.notif-icon-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.notif-icon-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Full notification list page */
.notif-list-full {
    display: flex;
    flex-direction: column;
}

.notif-item-full {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.notif-item-full:last-child {
    border-bottom: none;
}

.notif-item-full:hover {
    background: var(--primary-hover);
}

.notif-item-full.unread {
    background: rgba(79, 70, 229, 0.04);
    border-left: 3px solid var(--primary);
}

.notif-item-full .notif-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

.notif-item-full .notif-title {
    font-size: 0.9375rem;
}

.notif-item-full .notif-msg {
    font-size: 0.8125rem;
    -webkit-line-clamp: 3;
}

.notif-item-full .notif-time {
    font-size: 0.75rem;
    align-self: center;
    flex-shrink: 0;
}

/* ─── Buttons ─── */
.btn {
    transition: var(--transition);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.25rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
}

.btn-accent:hover,
.btn-accent:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.38);
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #6D28D9 100%);
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-ghost {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: transparent;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.btn-action {
    font-weight: 600;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.85rem;
    transition: var(--transition);
}

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

.btn-order {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    width: 100%;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    cursor: pointer;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
    color: #fff;
}

.preset-btn {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.preset-btn:hover,
.preset-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

/* ─── Cards ─── */
.card-smm {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
}

.card-smm:hover {
    box-shadow: var(--shadow-hover);
}

.card-smm .card-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    padding: 1rem 1.25rem;
}

.card-smm .card-body {
    color: var(--text);
}

/* ─── Welcome Banner ─── */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-card);
}

.welcome-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.welcome-banner > * {
    position: relative;
    z-index: 1;
}

.welcome-banner h1,
.welcome-banner h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}

.welcome-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ─── Stat Cards ─── */
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.375rem 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    border-left: 3px solid var(--border);
    position: relative;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-card:has(.stat-icon-indigo) { border-left-color: var(--primary); }
.stat-card:has(.stat-icon-purple) { border-left-color: var(--secondary); }
.stat-card:has(.stat-icon-cyan)   { border-left-color: var(--accent); }
.stat-card:has(.stat-icon-green)  { border-left-color: var(--success); }
.stat-card:has(.stat-icon-amber)  { border-left-color: var(--warning); }
.stat-card:has(.stat-icon-red)    { border-left-color: var(--danger); }

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
}

.stat-icon-indigo { background: rgba(79, 70, 229, 0.1); color: var(--primary); }
.stat-icon-purple { background: rgba(124, 58, 237, 0.1); color: var(--secondary); }
.stat-icon-cyan   { background: rgba(6, 182, 212, 0.1); color: var(--accent); }
.stat-icon-green  { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.stat-icon-amber  { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-icon-red    { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stat-card-dash {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    padding: 1.375rem 1.5rem;
}

.stat-card-dash .stat-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.stat-card-dash .stat-value {
    font-size: 1.5rem;
}

/* ─── Forms ─── */
.form-control,
.form-select {
    background-color: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--card);
    border-color: var(--primary);
    color: var(--text);
    box-shadow: var(--focus-ring);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-label {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text);
    margin-bottom: 0.375rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.input-group-text {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.input-group .form-control:focus + .input-group-text,
.input-group .input-group-text + .form-control:focus {
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ─── Tables ─── */
.table-smm {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-border-color: var(--border-light);
    --bs-table-hover-bg: var(--primary-hover);
    margin-bottom: 0;
}

.table-smm thead th {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding: 0.875rem 1rem;
    white-space: nowrap;
}

.table-smm tbody td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    font-size: 0.875rem;
    border-color: var(--border-light);
}

.table-smm tbody tr:nth-child(even) {
    background: rgba(245, 247, 250, 0.7);
}

.table-smm tbody tr:hover {
    background: var(--primary-hover);
}

.table-smm tbody tr {
    transition: var(--transition);
}

/* ─── Status Badges ─── */
.badge-status {
    font-weight: 600;
    font-size: 0.6875rem;
    padding: 0.35em 0.75em;
    border-radius: 50px;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.badge-status-pending,
.badge-status-processing {
    background: #FEF3C7;
    color: #B45309;
}

.badge-status-in_progress {
    background: #DBEAFE;
    color: #1D4ED8;
}

.badge-status-completed,
.badge-status-active {
    background: #D1FAE5;
    color: #047857;
}

.badge-status-partial {
    background: #EDE9FE;
    color: #6D28D9;
}

.badge-status-cancelled,
.badge-status-inactive {
    background: #F3F4F6;
    color: #6B7280;
}

.badge-status-failed,
.badge-status-suspended {
    background: #FEE2E2;
    color: #DC2626;
}

.category-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    border: 1px solid rgba(79, 70, 229, 0.12);
}

/* ─── Service Cards & Grid ─── */
.services-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-bar {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 360px;
}

.search-bar i {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.search-bar .form-control {
    padding-left: 2.5rem;
    background: var(--card);
}

.filter-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    padding: 0.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.filter-tab:hover {
    color: var(--primary);
    background: var(--primary-hover);
}

.filter-tab.active {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.services-grid {
    /* Bootstrap row handles the grid — no CSS grid override */
}

.service-card {
    width: 100%;
    min-height: 320px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: visible;
}

.service-card.card-smm {
    overflow: visible;
}

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

.service-card-body {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    height: 100%;
    padding: 20px;
}

.service-card-top {
    flex: 1 1 auto;
    min-width: 0;
}

.service-card-actions {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 16px;
}

.service-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.service-card-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-rate-line {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.service-card-qty {
    font-size: 0.8125rem;
    color: var(--text-muted);
    word-wrap: break-word;
}

.service-card-top .category-badge {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.service-card .card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.platform-emoji {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 0.75rem;
}

.service-card .service-rate {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.service-preview-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.375rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
}

.service-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ─── Support Tickets ─── */
.ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ticket-message {
    border-radius: var(--radius);
    padding: 1.125rem 1.25rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.ticket-message-user {
    background: #F3F4F6;
    border-color: var(--border);
}

.ticket-message-admin {
    background: #EEF2FF;
    border-color: rgba(79, 70, 229, 0.15);
}

.ticket-message-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
}

.ticket-message-body {
    color: var(--text);
    line-height: 1.65;
    font-size: 0.9375rem;
    padding-left: 2.75rem;
}

.ticket-role {
    font-size: 0.625rem;
    vertical-align: middle;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ─── Page Header & Breadcrumbs ─── */
.page-header {
    margin-bottom: 1.75rem;
}

.page-header h1 {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.page-header p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
}

/* ─── Empty State ─── */
.empty-state {
    padding: 3.5rem 2rem;
    text-align: center;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 2.75rem;
    color: var(--border);
    margin-bottom: 1rem;
    display: block;
}

.empty-state p {
    font-size: 0.9375rem;
}

/* ─── Alerts ─── */
.alert {
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.875rem 1rem;
}

.alert-success {
    background: #ECFDF5;
    color: #047857;
    border-color: #A7F3D0;
}

.alert-danger {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
}

.alert-warning {
    background: #FFFBEB;
    color: #B45309;
    border-color: #FDE68A;
}

/* ─── Modals ─── */
.modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1.125rem 1.25rem;
}

.modal-title {
    font-weight: 700;
    font-size: 1.0625rem;
}

.modal-body {
    padding: 1.25rem;
}

.modal-footer {
    border-top: 1px solid var(--border);
    padding: 1rem 1.25rem;
    gap: 0.5rem;
}

.btn-close:focus {
    box-shadow: var(--focus-ring);
}

/* ─── Dropdowns ─── */
.dropdown-menu {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 0.375rem;
    margin-top: 0.375rem !important;
}

.dropdown-item {
    color: var(--text);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--primary-hover);
    color: var(--primary);
}

.dropdown-divider {
    border-color: var(--border);
    margin: 0.375rem 0;
}

/* ─── Payment Form ─── */
.payment-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.payment-form-card .card-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 1.125rem 1.375rem;
    font-weight: 700;
    font-size: 0.9375rem;
}

.payment-form-card .card-body {
    padding: 1.375rem;
}

/* ─── Chart Cards ─── */
.chart-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 1.375rem;
    height: 100%;
    transition: var(--transition);
}

.chart-card:hover {
    box-shadow: var(--shadow-hover);
}

.chart-card h6 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
}

.chart-wrap {
    position: relative;
    height: 240px;
}

.chart-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ─── Auth Pages ─── */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.auth-logo {
    font-size: 1.625rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 0.375rem;
    letter-spacing: -0.03em;
}

/* ─── Admin Layout ─── */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: var(--card);
    color: var(--text);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.admin-sidebar-brand {
    padding: 1.375rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.admin-sidebar-brand:hover {
    color: var(--primary);
}

.admin-sidebar-brand i {
    color: var(--primary);
}

.admin-sidebar nav {
    flex: 1;
    padding: 0.5rem 0.75rem;
}

.admin-sidebar .nav-link {
    color: var(--text-muted);
    padding: 0.7rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 0.125rem 0;
    border-left: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.admin-sidebar .nav-link:hover {
    color: var(--primary);
    background: var(--primary-hover);
}

.admin-sidebar .nav-link.active {
    color: #fff;
    background: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
}

.admin-sidebar .nav-link.active i {
    color: #fff;
}

.admin-sidebar .nav-link i {
    font-size: 1.05rem;
    width: 22px;
    color: var(--text-muted);
    transition: var(--transition);
}

.admin-sidebar .nav-link:hover i {
    color: var(--primary);
}

.admin-sidebar > .px-3 {
    border-top: 1px solid var(--border) !important;
    background: var(--bg);
    position: relative !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: auto;
}

.admin-sidebar > .px-3 .nav-link {
    border-radius: var(--radius-sm);
}

.admin-sidebar > .px-3 .nav-link.text-white {
    color: var(--danger) !important;
}

.admin-sidebar > .px-3 .nav-link.text-white:hover {
    background: #FEF2F2;
    color: var(--danger) !important;
}

.admin-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--navbar-height);
}

.admin-content {
    padding: 1.75rem 2rem;
    flex: 1;
}

/* ─── Landing Page ─── */
.landing-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hero-section {
    background: var(--card);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(79, 70, 229, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 10%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse 40% 35% at 20% 70%, rgba(79, 70, 229, 0.06) 0%, transparent 40%);
    animation: meshFloat 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, var(--bg) 100%);
    pointer-events: none;
}

@keyframes meshFloat {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: scale(1.05) translate(-2%, 1%);
        opacity: 0.85;
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.125rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* Social proof stats bar */
.stats-bar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 2rem 1.5rem;
    margin-top: -2.75rem;
    position: relative;
    z-index: 10;
}

.stat-item .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.stat-item .stat-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Feature cards */
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.125rem;
}

/* Step cards */
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    height: 100%;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 800;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.section-padding {
    padding: 4.5rem 0;
}

.bg-white-section {
    background: var(--card);
}

/* Landing footer */
.landing-footer {
    background: #111827;
    color: #9CA3AF;
    padding: 4rem 0 2rem;
}

.landing-footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.125rem;
    letter-spacing: -0.01em;
}

.landing-footer a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

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

.landing-footer hr {
    border-color: rgba(255, 255, 255, 0.08);
}

/* ─── Footer (User Panel) ─── */
.footer-smm {
    border-top: 1px solid var(--border);
    background: var(--card);
    color: var(--text-muted);
    font-size: 0.8125rem;
    padding: 1.25rem 0;
    margin-top: auto;
}

/* ─── Utility Overrides ─── */
.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-light-subtle {
    border-color: var(--border) !important;
}

/* Scrollbar (global) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: var(--shadow-lg);
    }

    .admin-sidebar.show {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-content {
        padding: 1.25rem;
    }

    .admin-topbar {
        padding: 0.875rem 1.25rem;
    }

    .notif-menu {
        width: 320px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0 2.5rem;
    }

    .stats-bar {
        margin-top: -1.5rem;
        padding: 1.5rem 1rem;
    }

    .stats-bar .border-start,
    .stats-bar .border-end {
        border: none !important;
    }

    .page-header h1 {
        font-size: 1.375rem;
    }

    .welcome-banner {
        padding: 1.5rem;
    }

    .ticket-message-body {
        padding-left: 0;
        margin-top: 0.5rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .services-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .wallet-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}

/* ─── Premium extensions ─── */
.stat-card-accent {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.stat-accent-green { border-left-color: var(--success); }
.stat-accent-blue { border-left-color: var(--info); }
.stat-accent-yellow { border-left-color: var(--warning); }
.stat-accent-purple { border-left-color: var(--secondary); }

.admin-sidebar-light {
    background: var(--card) !important;
    border-right: 1px solid var(--border);
    box-shadow: none;
    color: var(--text);
}
.admin-sidebar-light .admin-sidebar-brand { color: var(--text); border-bottom: 1px solid var(--border); }
.admin-nav-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; margin: 0.15rem 0.75rem 0.15rem 0;
    color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.9rem;
    border-radius: 0 10px 10px 0; transition: 0.2s ease;
}
.admin-nav-link:hover { background: #F5F3FF; color: var(--primary); }
.admin-nav-link.active { background: var(--primary); color: #fff; font-weight: 600; }
.admin-nav-link i { font-size: 1.1rem; width: 20px; }
.admin-nav-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}
.admin-nav-link.active .admin-nav-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    box-shadow: none;
}
.admin-sidebar-footer { position: absolute; bottom: 0; width: 100%; border-top: 1px solid var(--border); padding: 0.5rem 0 1rem; }
.admin-page-title { font-size: 1.25rem; font-weight: 700; }
.admin-breadcrumb { font-size: 0.8rem; }

.hero-premium { position: relative; overflow: hidden; padding: 4rem 0 3rem; }
.hero-mesh {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(79,70,229,0.12), transparent),
                radial-gradient(ellipse 60% 50% at 80% 60%, rgba(124,58,237,0.08), transparent),
                radial-gradient(ellipse 50% 40% at 50% 100%, rgba(6,182,212,0.06), transparent);
    animation: meshFloat 12s ease-in-out infinite alternate;
}
@keyframes meshFloat { from { opacity: 0.8; transform: scale(1); } to { opacity: 1; transform: scale(1.05); } }
.hero-premium-title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.hero-premium-sub { font-size: 1.125rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; }
.hero-badge { display: inline-block; background: rgba(79,70,229,0.1); color: var(--primary); font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: 50px; margin-bottom: 1rem; }
.hero-preview-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-lg); }
.hero-preview-stat { display: flex; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.min-vh-75 { min-height: 75vh; }

.social-proof-bar {
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2rem;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 1.5rem 2rem; margin-top: -2rem; position: relative; z-index: 5;
}
.proof-item { text-align: center; }
.proof-item strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.proof-item span { font-size: 0.85rem; color: var(--text-muted); }
.proof-divider { width: 1px; height: 40px; background: var(--border); }
.section-title { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; }
.feature-icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: rgba(79,70,229,0.1); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.step-circle { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font-weight: 800; font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: 0 4px 14px rgba(79,70,229,0.35); }

.services-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.search-bar { position: relative; flex: 1; max-width: 360px; }
.search-bar i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-bar .form-control { padding-left: 2.5rem; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-tab { padding: 0.45rem 1rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border); background: var(--card); transition: 0.2s ease; }
.filter-tab:hover, .filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.charge-preview { background: rgba(79,70,229,0.06); border: 1px solid rgba(79,70,229,0.12); border-radius: 10px; padding: 0.85rem 1rem; }

.ticket-chat .chat-bubble { margin-bottom: 1rem; max-width: 85%; }
.chat-bubble-user { background: #F3F4F6; border-radius: 12px 12px 12px 4px; padding: 1rem 1.15rem; }
.chat-bubble-admin { background: #EEF2FF; border-radius: 12px 12px 4px 12px; padding: 1rem 1.15rem; margin-left: auto; border: 1px solid rgba(79,70,229,0.12); }
.chat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.875rem; }
.chat-time { color: var(--text-muted); font-size: 0.75rem; margin-left: auto; }
.chat-text { font-size: 0.9375rem; line-height: 1.65; color: var(--text); }
.reply-box:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.15); }

.welcome-banner-content h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.35rem; }
.logo-icon { font-style: normal; }

/* ─── Admin order sync toolbar ─── */
.orders-toolbar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-card);
}
.orders-action-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.orders-filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.orders-filter-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.orders-filter-select {
    min-width: 150px;
    height: 42px;
    padding: 0 2.25rem 0 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    background: #fff;
    border: 1px solid rgba(79, 70, 229, 0.25);
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.orders-filter-select:hover {
    border-color: rgba(79, 70, 229, 0.45);
}
.orders-filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.orders-filter-chevron {
    position: absolute;
    right: 0.75rem;
    pointer-events: none;
    color: var(--primary);
    font-size: 0.75rem;
}
.orders-search-wrap {
    position: relative;
    flex: 1;
    min-width: 180px;
    max-width: 280px;
}
.orders-search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.875rem;
    pointer-events: none;
}
.orders-search-input {
    width: 100%;
    height: 42px;
    padding: 0 0.875rem 0 2.35rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.orders-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.orders-filter-apply {
    height: 42px;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    white-space: nowrap;
}
.orders-filter-apply:hover {
    background: rgba(79, 70, 229, 0.14);
    color: var(--primary-dark);
    border-color: rgba(79, 70, 229, 0.35);
}
.orders-toolbar-meta {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.sync-toolbar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    min-width: 220px;
}
.btn-sync-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    height: 42px;
    padding: 0 1.15rem;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.btn-sync-gradient:hover:not(:disabled),
.btn-sync-gradient:focus:not(:disabled) {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #6D28D9 100%);
}
.btn-sync-gradient:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}
.btn-sync-gradient .sync-icon {
    display: inline-block;
    margin-right: 0.15rem;
}
.sync-last-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.sync-last-text span {
    font-weight: 600;
    color: var(--text);
}
.sync-feedback {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
    margin-top: 0;
    border-radius: var(--radius-sm);
    max-width: 100%;
    flex: 1;
}

.orders-col-status {
    min-width: 100px;
    white-space: nowrap;
}
.orders-col-internal {
    min-width: 160px;
    max-width: 220px;
    vertical-align: top;
}
.orders-internal-tip {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.75rem;
    cursor: help;
    opacity: 0.65;
    vertical-align: middle;
}
.internal-error-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}
.badge-api-error {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    white-space: nowrap;
}
.admin-error-note {
    font-size: 0.6875rem;
    color: #92400E;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    width: 100%;
}

/* ─── Public pages (Help, Contact, Legal) ─── */
.public-page { min-height: 60vh; }
.public-page-hero {
    background: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0 2.5rem;
    margin-bottom: 2rem;
}
.public-page-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.public-page-sub { color: var(--text-muted); margin-bottom: 0; max-width: 560px; }

.legal-content h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.legal-content p, .legal-content li { color: var(--text-muted); line-height: 1.7; font-size: 0.9375rem; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }

.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--card);
}
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--card);
    box-shadow: none;
    padding: 1rem 1.25rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.04);
}
.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.faq-accordion .accordion-body { padding: 1rem 1.25rem 1.25rem; line-height: 1.65; }

.company-info-list li { display: flex; align-items: flex-start; gap: 0.25rem; }

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-section::before {
        animation: none;
    }
}
