/* ============================================================
   QUICK REPAIR — Global Design System
   Version 1.0 | 2025
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ──────────────────────────────────────────── */
:root {
    --primary: #FF6B2C;
    --primary-dark: #E55A1E;
    --primary-glow: rgba(255, 107, 44, 0.25);
    --secondary: #FFB347;
    --success: #22C55E;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;

    --dark: #0A0A0F;
    --dark-2: #111119;
    --dark-3: #1A1A2E;
    --dark-4: #22223B;
    --surface: #1E1E30;
    --surface-2: #252540;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    --text-white: #FFFFFF;
    --text-primary: #F0F0F8;
    --text-muted: #9090B0;
    --text-faint: #60607A;

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--primary-glow);

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-blur: blur(16px);

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
}

input,
select,
textarea {
    font-family: var(--font-body);
}

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-2);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-white);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

h4 {
    font-size: 1.1rem;
}

p {
    color: var(--text-muted);
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 24px;
}

.container-sm {
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Dashboard page wrapper — responsive safe padding */
.dash-wrap {
    max-width: 1280px;
    margin-inline: auto;
    padding: 28px clamp(16px, 4vw, 40px);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.mt-1 {
    margin-top: .25rem
}

.mt-2 {
    margin-top: .5rem
}

.mt-3 {
    margin-top: 1rem
}

.mt-4 {
    margin-top: 1.5rem
}

.mt-5 {
    margin-top: 2rem
}

.mb-1 {
    margin-bottom: .25rem
}

.mb-2 {
    margin-bottom: .5rem
}

.mb-3 {
    margin-bottom: 1rem
}

.mb-4 {
    margin-bottom: 1.5rem
}

.mb-5 {
    margin-bottom: 2rem
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: .25rem
}

.gap-2 {
    gap: .5rem
}

.gap-3 {
    gap: 1rem
}

.gap-4 {
    gap: 1.5rem
}

.gap-5 {
    gap: 2rem
}

.grid {
    display: grid;
}

.w-full {
    width: 100%;
}

.hidden {
    display: none !important;
}

.rounded {
    border-radius: var(--radius-md);
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── GLASS CARD ─────────────────────────────────────────────── */
.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-flat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    filter: brightness(1.1);
    color: #fff;
}

.btn-secondary {
    background: var(--surface-2);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--dark-4);
    color: var(--text-white);
    border-color: var(--border-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #C53030;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-xs {
    padding: 5px 10px;
    font-size: 0.72rem;
    border-radius: var(--radius-sm);
}

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.form-control {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--surface-2);
}

.form-control::placeholder {
    color: var(--text-faint);
}

select.form-control {
    appearance: none;
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-faint);
}

.form-error {
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 2px;
}

.input-group {
    display: flex;
    gap: 0;
}

.input-group .form-control {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.input-group .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--primary-glow);
    color: var(--primary);
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.badge-muted {
    background: rgba(144, 144, 176, 0.15);
    color: var(--text-muted);
}

/* ── STATUS BADGES ───────────────────────────────────────────── */
.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-accepted {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.status-in_progress {
    background: rgba(255, 107, 44, 0.1);
    color: var(--primary);
}

.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.status-disputed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ── TABLE ───────────────────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

thead th {
    background: var(--surface);
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text-primary);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: var(--transition);
}

tbody tr:hover {
    background: var(--glass-bg);
}

/* ── MODAL ───────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--surface);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
    color: #fff;
}

/* ── TABS ─────────────────────────────────────────────────────── */
.tabs-nav {
    display: flex;
    gap: 4px;
    background: var(--surface);
    padding: 4px;
    border-radius: var(--radius-full);
    overflow-x: auto;
}

.tab-btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.tab-btn:hover:not(.active) {
    color: var(--text-white);
    background: var(--surface-2);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.25s ease;
}

.tab-pane.active {
    display: block;
}

/* ── DASHBOARD LAYOUT ────────────────────────────────────────── */
/* Sticky tab strip — full width, with centred inner nav */
.dash-tabs {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--dark-2);
    border-bottom: 1px solid var(--border);
    padding: 10px clamp(16px, 4vw, 40px);
}

/* Customer dashboard content wrapper */
.dash-body {
    max-width: 1280px;
    margin-inline: auto;
    padding: 28px clamp(16px, 4vw, 40px);
}

/* ── TOGGLE SWITCH ───────────────────────────────────────────── */
.toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle {
    position: relative;
    width: 56px;
    height: 28px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--dark-4);
    border-radius: 28px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle input:checked+.toggle-slider {
    background: var(--success);
    border-color: var(--success);
}

.toggle input:checked+.toggle-slider::before {
    transform: translate(28px, -50%);
    background: #fff;
}

.toggle-label {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ── TOAST NOTIFICATIONS ─────────────────────────────────────── */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    min-width: 300px;
    max-width: 400px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.35s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.toast.success {
    border-left: 3px solid var(--success);
}

.toast.error {
    border-left: 3px solid var(--danger);
}

.toast.warning {
    border-left: 3px solid var(--warning);
}

.toast.info {
    border-left: 3px solid var(--info);
}

.toast i {
    font-size: 1rem;
}

.toast.success i {
    color: var(--success);
}

.toast.error i {
    color: var(--danger);
}

.toast.warning i {
    color: var(--warning);
}

.toast.info i {
    color: var(--info);
}

/* ── STAT CARDS ──────────────────────────────────────────────── */
.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-glow);
    filter: blur(40px);
    border-radius: 50%;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--text-white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

.stat-change.up {
    color: var(--success);
}

.stat-change.down {
    color: var(--danger);
}

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    opacity: 0.25;
}

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 clamp(16px, 4vw, 40px);
    height: 68px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.nav-brand-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-white);
}

.nav-brand-name span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-white);
    background: var(--surface);
}

/* ── SIDEBAR (Admin/Provider) ─────────────────────────────────── */
.sidebar-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 68px;
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
    position: fixed;
    top: 68px;
    bottom: 0;
    background: var(--dark-2);
    border-right: 1px solid var(--border);
    padding: 24px 12px;
    overflow-y: auto;
    z-index: 200;
}

.sidebar-section {
    margin-bottom: 8px;
}

.sidebar-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    padding: 0 12px;
    margin-bottom: 4px;
    margin-top: 16px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.sidebar-link:hover {
    background: var(--surface);
    color: var(--text-white);
}

.sidebar-link.active {
    background: var(--primary-glow);
    color: var(--primary);
    font-weight: 600;
    border: 1px solid rgba(255, 107, 44, 0.2);
}

.sidebar-link i {
    width: 18px;
    text-align: center;
}

.sidebar-content {
    margin-left: 260px;
    padding: 28px;
    flex: 1;
    min-width: 0;
}

/* ── STEP WIZARD ─────────────────────────────────────────────── */
.wizard-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
    min-width: 80px;
}

.wizard-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.wizard-step.done::after {
    background: var(--primary);
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
    transition: var(--transition);
}

.wizard-step.active .step-dot {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 6px var(--primary-glow);
}

.wizard-step.done .step-dot {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.step-label {
    font-size: 0.7rem;
    color: var(--text-faint);
    text-align: center;
    font-weight: 600;
}

.wizard-step.active .step-label {
    color: var(--primary);
}

.wizard-step.done .step-label {
    color: var(--text-muted);
}

/* ── TRACKING TIMELINE ───────────────────────────────────────── */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tl-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 24px;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-dot-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.tl-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 1;
    transition: var(--transition);
}

.tl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 6px var(--primary-glow);
}

.tl-dot.done {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.tl-line {
    flex: 1;
    width: 2px;
    background: var(--border);
    margin-top: 4px;
}

.tl-item.done .tl-line {
    background: var(--success);
}

.tl-content {
    flex: 1;
    padding-top: 6px;
}

.tl-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.tl-time {
    font-size: 0.78rem;
    color: var(--text-faint);
}

.tl-item.active .tl-title {
    color: var(--primary);
}

.tl-item.done .tl-title {
    color: var(--text-muted);
}

/* ── CATEGORY CARD ───────────────────────────────────────────── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.cat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-glow), transparent);
    opacity: 0;
    transition: var(--transition);
}

.cat-card:hover::before {
    opacity: 1;
}

.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.cat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.cat-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-head);
}

/* ── PROVIDER CARD ───────────────────────────────────────────── */
.provider-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.provider-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.provider-card.selected {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.provider-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.provider-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ── BANNER CAROUSEL ─────────────────────────────────────────── */
.banner-carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.banner-slide {
    background: linear-gradient(135deg, var(--dark-3), var(--primary-dark));
    padding: 28px 24px;
    color: #fff;
    display: none;
}

.banner-slide.active {
    display: block;
}

.banner-title {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-head);
}

.banner-sub {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 4px;
}

.banner-badge {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 12px;
}

/* ── ONLINE DOT ──────────────────────────────────────────────── */
.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.online-dot.online {
    background: var(--success);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

.online-dot.offline {
    background: var(--text-faint);
}

/* ── PHOTO UPLOAD ────────────────────────────────────────────── */
.photo-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.photo-upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.photo-upload-area i {
    font-size: 2rem;
    color: var(--text-faint);
    margin-bottom: 8px;
}

.photo-upload-area p {
    font-size: 0.85rem;
    color: var(--text-faint);
}

/* ── SEARCH BAR ──────────────────────────────────────────────── */
.search-wrap {
    position: relative;
}

.search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
}

.search-input {
    padding-left: 44px !important;
}

/* ── RATING STARS ────────────────────────────────────────────── */
.stars {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 1.2rem;
    color: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.star.on {
    color: var(--secondary);
}

.star:hover {
    transform: scale(1.2);
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    70% {
        box-shadow: 0 0 0 14px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

@keyframes shimmer {
    0% {
        background-position: -800px 0;
    }

    100% {
        background-position: 800px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite;
}

.animate-pulse {
    animation: pulse-ring 2s infinite;
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .sidebar-content {
        margin-left: 0;
        padding: 20px 16px;
    }
}

@media (max-width: 768px) {
    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .tabs-nav {
        gap: 2px;
    }

    .tab-btn {
        padding: 9px 12px;
        font-size: 0.78rem;
    }

    .modal {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }
}