@charset "utf-8";

/* =============================================================
   RoadCollect Component Styles – Figma Design System (v1)
   Replaces Bootstrap with custom design system components
   ============================================================= */

/* ============================================
   CSS Reset (Tailwind-inspired)
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid var(--color-slate-200);
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--font-sans);
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    line-height: inherit;
    background-color: var(--surface-page);
    color: var(--color-slate-900);
    min-height: 100vh;
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

a {
    color: var(--color-drc-blue);
    text-decoration: inherit;
}

a:hover {
    color: #164086;
}

b, strong {
    font-weight: bolder;
}

code, kbd, samp, pre {
    font-family: var(--font-mono);
    font-size: 1em;
}

small {
    font-size: 80%;
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
    max-width: 100%;
}

button, input, select, optgroup, textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button, select {
    text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

:-moz-focusring {
    outline: auto;
}

:-moz-ui-invalid {
    box-shadow: none;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

summary {
    display: list-item;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
    margin: 0;
}

ol, ul, menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

::placeholder {
    opacity: 1;
    color: var(--color-slate-400);
}

[hidden] {
    display: none !important;
}

/* ============================================
   Focus States (Accessibility)
   ============================================ */
:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-drc-yellow), 0 0 0 4px rgba(255, 206, 0, 0.3);
    border-radius: var(--radius-sm);
}

/* ============================================
   Button Components
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 12px 24px;
    min-height: 48px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 150ms ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #1a4da3 0%, #1F59C0 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(31, 89, 192, 0.35);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #164086 0%, #1a4da3 100%) !important;
    box-shadow: 0 6px 20px rgba(31, 89, 192, 0.45);
    transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
    background: linear-gradient(135deg, #113369 0%, #164086 100%) !important;
    transform: translateY(0);
}

.btn-secondary {
    background-color: rgba(31, 89, 192, 0.1) !important;
    color: #1F59C0 !important;
    border: 2px solid #1F59C0 !important;
}

.btn-secondary:hover:not(:disabled) {
    background-color: rgba(31, 89, 192, 0.18) !important;
}

.btn-tertiary {
    background-color: transparent !important;
    color: #334155 !important;
}

.btn-tertiary:hover:not(:disabled) {
    background-color: #F1F5F9 !important;
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #EF4444 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-danger:hover:not(:disabled) {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%) !important;
}

.btn-ghost {
    background-color: transparent !important;
    color: #1F59C0 !important;
    padding: 8px 12px;
    min-height: auto;
}

.btn-ghost:hover:not(:disabled) {
    background-color: rgba(31, 89, 192, 0.08) !important;
}

.btn-link {
    background: none !important;
    color: #1F59C0 !important;
    padding: 0;
    min-height: auto;
    font-weight: 500;
}

.btn-link:hover {
    color: #164086 !important;
    text-decoration: underline;
}

/* Button Sizes */
.btn-sm {
    font-size: 0.875rem;
    padding: 8px 16px;
    min-height: 40px;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 16px 32px;
    min-height: 56px;
}

.btn-block {
    width: 100%;
}

/* Button with loading spinner */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Form Controls
   ============================================ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.form-label .required {
    color: #EF4444;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #0F172A;
    background-color: #ffffff;
    border: 2px solid #CBD5E1;
    border-radius: 12px;
    transition: all 200ms ease;
}

.form-control::placeholder {
    color: #94A3B8;
}

.form-control:focus {
    outline: none;
    border-color: #1F59C0;
    box-shadow: 0 0 0 3px rgba(31, 89, 192, 0.15);
}

/* Emission Page Input Styles */
.emission-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #0F172A;
    background-color: #ffffff;
    border: 2px solid #CBD5E1;
    border-radius: 12px;
    transition: all 200ms ease;
}

.emission-input::placeholder {
    color: #94A3B8;
}

.emission-input:focus {
    outline: none;
    border-color: #1F59C0;
    box-shadow: 0 0 0 3px rgba(31, 89, 192, 0.15);
}

.form-control:disabled {
    background-color: #F1F5F9;
    cursor: not-allowed;
}

.form-control.is-invalid {
    border-color: #EF4444;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

/* Input with icon */
.input-group {
    position: relative;
}

.input-group .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94A3B8;
    pointer-events: none;
}

.input-group .form-control {
    padding-left: 44px;
}

/* Validation messages */
.validation-message,
.field-validation-error {
    font-size: 0.875rem;
    color: #EF4444;
    margin-top: 4px;
}

.validation-summary-errors {
    background-color: #FEE2E2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 16px;
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    padding: 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.alert-danger {
    background-color: #FEE2E2;
    color: #991b1b;
    border-left: 4px solid #EF4444;
}

.alert-success {
    background-color: #DCFCE7;
    color: #166534;
    border-left: 4px solid #22C55E;
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400e;
    border-left: 4px solid #F59E0B;
}

.alert-info {
    background-color: #DBEAFE;
    color: #1e40af;
    border-left: 4px solid #3B82F6;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-body {
    padding: 24px;
}

.card-header {
    padding: 16px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid #E2E8F0;
    background-color: #F8FAFC;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ============================================
   Login Page Specific Styles
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(135deg, #1a4da3 0%, #113369 100%);
    position: relative;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 32px;
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-8);
}

.login-logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1a4da3 0%, #1F59C0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(31, 89, 192, 0.35);
}

.login-logo-icon span {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
}

.login-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F59C0;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 0.875rem;
    color: #475569;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-actions {
    margin-top: 24px;
}

/* Login Button - Figma exact match */
.login-button {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a4da3 0%, #1F59C0 100%) !important;
    color: #ffffff !important;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none !important;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(31, 89, 192, 0.35);
    transition: all 150ms ease;
}

.login-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #164086 0%, #1a4da3 100%) !important;
    box-shadow: 0 6px 20px rgba(31, 89, 192, 0.45);
    transform: translateY(-1px);
}

.login-button:active:not(:disabled) {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-button-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* DRC Flag stripe for login page - matches Figma exactly */
.login-flag-stripe {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to right, 
        #1F59C0 0%, 
        #1F59C0 33.33%, 
        #FFCE00 33.33%, 
        #FFCE00 66.66%, 
        #E4002B 66.66%, 
        #E4002B 100%
    );
    z-index: 1000;
}

.login-footer {
    text-align: center;
    margin-top: var(--space-6);
}

.login-footer a {
    font-size: var(--text-sm);
    color: var(--color-drc-blue);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    margin-top: var(--space-6);
}

/* ============================================
   Auth Layout - Clean standalone pages
   ============================================ */
.auth-layout {
    min-height: 100vh;
    background: transparent;
}

/* ============================================
   Status Badges
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
}

.badge-pending {
    background: var(--color-slate-100);
    color: var(--color-slate-700);
}

.badge-issued {
    background: var(--color-info-subtle);
    color: #1e40af;
}

.badge-redeemed,
.badge-success {
    background: var(--color-success-subtle);
    color: #166534;
}

.badge-cancelled,
.badge-danger {
    background: var(--color-danger-subtle);
    color: #991b1b;
}

.badge-expired,
.badge-warning {
    background: var(--color-warning-subtle);
    color: #92400e;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

.font-normal { font-weight: var(--font-weight-regular); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.text-muted { color: var(--color-slate-500); }
.text-primary { color: var(--color-drc-blue); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:flex-row { flex-direction: row; }
}

@media (min-width: 1280px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   Blazor-specific Overrides
   ============================================ */
#blazor-error-ui {
    background: var(--color-warning-subtle);
    color: #92400e;
    bottom: 0;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    padding: var(--space-3) var(--space-4);
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: var(--text-sm);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: var(--space-3);
    top: var(--space-2);
}

.blazor-error-boundary {
    background: var(--color-danger);
    padding: var(--space-4);
    color: white;
    border-radius: var(--radius-md);
}

.blazor-error-boundary::after {
    content: "Une erreur s'est produite.";
}

/* Status bar safe area for mobile */
.status-bar-safe-area {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: flex;
        position: sticky;
        top: 0;
        height: env(safe-area-inset-top);
        background-color: var(--color-drc-blue);
        width: 100%;
        z-index: 1;
    }
}

/* ============================================
   SVG Icon Helpers
   ============================================ */
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

/* ============================================
   Select / Dropdown Component
   ============================================ */
.form-select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 16px;
    font-size: 1rem;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #0F172A;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    appearance: none;
    cursor: pointer;
    transition: all 150ms ease;
}

.form-select:focus {
    outline: none;
    border-color: #FFCE00;
    box-shadow: 0 0 0 3px rgba(255, 206, 0, 0.25);
}

.form-select:disabled {
    background-color: #F1F5F9;
    cursor: not-allowed;
}

.form-select.is-invalid {
    border-color: #EF4444;
}

/* ============================================
   Checkbox Component
   ============================================ */
.form-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E1;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    appearance: none;
    transition: all 150ms ease;
    position: relative;
}

.form-checkbox:checked {
    background-color: #1F59C0;
    border-color: #1F59C0;
}

.form-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 206, 0, 0.25);
}

.form-checkbox:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #334155;
}

/* ============================================
   Radio Button Component
   ============================================ */
.form-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E1;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    appearance: none;
    transition: all 150ms ease;
    position: relative;
}

.form-radio:checked {
    border-color: #1F59C0;
}

.form-radio:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #1F59C0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.form-radio:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 206, 0, 0.25);
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #334155;
}

/* ============================================
   Toggle / Switch Component
   ============================================ */
.form-switch {
    width: 44px;
    height: 24px;
    background-color: #CBD5E1;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    appearance: none;
    position: relative;
    transition: all 150ms ease;
}

.form-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 150ms ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-switch:checked {
    background-color: #1F59C0;
}

.form-switch:checked::after {
    transform: translateX(20px);
}

.form-switch:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 206, 0, 0.25);
}

.form-switch:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   Textarea Component
   ============================================ */
.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #0F172A;
    background-color: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    resize: vertical;
    transition: all 150ms ease;
}

.form-textarea::placeholder {
    color: #94A3B8;
}

.form-textarea:focus {
    outline: none;
    border-color: #FFCE00;
    box-shadow: 0 0 0 3px rgba(255, 206, 0, 0.25);
}

.form-textarea:disabled {
    background-color: #F1F5F9;
    cursor: not-allowed;
}

/* ============================================
   Status Badge Component (Figma exact)
   ============================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-badge--pending {
    background-color: #F1F5F9;
    color: #334155;
}
.status-badge--pending .status-badge-dot { background-color: #64748B; }

.status-badge--issued {
    background-color: #DBEAFE;
    color: #1E40AF;
}
.status-badge--issued .status-badge-dot { background-color: #3B82F6; }

.status-badge--redeemed,
.status-badge--valid {
    background-color: #DCFCE7;
    color: #166534;
}
.status-badge--redeemed .status-badge-dot,
.status-badge--valid .status-badge-dot { background-color: #22C55E; }

.status-badge--cancelled,
.status-badge--invalid {
    background-color: #FEE2E2;
    color: #991B1B;
}
.status-badge--cancelled .status-badge-dot,
.status-badge--invalid .status-badge-dot { background-color: #EF4444; }

.status-badge--expired,
.status-badge--warning {
    background-color: #FEF3C7;
    color: #92400E;
}
.status-badge--expired .status-badge-dot,
.status-badge--warning .status-badge-dot { background-color: #F59E0B; }

.status-badge--sm {
    padding: 4px 8px;
    font-size: 0.75rem;
}

/* ============================================
   KPI Card Component (Figma exact)
   ============================================ */
.kpi-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 24px;
    transition: box-shadow 250ms ease;
}

.kpi-card:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.kpi-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.kpi-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.kpi-card__icon--sunset { background: linear-gradient(135deg, #F97316, #FB923C); }
.kpi-card__icon--ocean { background: linear-gradient(135deg, #0EA5E9, #38BDF8); }
.kpi-card__icon--forest { background: linear-gradient(135deg, #22C55E, #4ADE80); }
.kpi-card__icon--violet { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }

.kpi-card__trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.kpi-card__trend--up { color: #16A34A; }
.kpi-card__trend--down { color: #DC2626; }

.kpi-card__label {
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 4px;
}

.kpi-card__value {
    font-size: 1.875rem;
    font-weight: 600;
    color: #0F172A;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   Data Table Component (Figma exact)
   ============================================ */
.data-table {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
}

.data-table__wrapper {
    overflow-x: auto;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}

.data-table th {
    padding: 16px 24px;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748B;
}

.data-table th button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
    transition: color 150ms ease;
}

.data-table th button:hover {
    color: #0F172A;
}

.data-table tbody tr {
    border-bottom: 1px solid #E2E8F0;
    transition: background-color 150ms ease;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: #F8FAFC;
}

.data-table td {
    padding: 16px 24px;
    font-size: 0.875rem;
    color: #0F172A;
}

.data-table__empty {
    padding: 48px 24px;
    text-align: center;
    color: #64748B;
}

/* ============================================
   Wizard Stepper Component (Figma exact)
   ============================================ */
.wizard-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.wizard-stepper__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.wizard-stepper__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 250ms ease;
    z-index: 1;
}

.wizard-stepper__circle--pending {
    background-color: #E2E8F0;
    color: #64748B;
}

.wizard-stepper__circle--current {
    background-color: #1F59C0;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(31, 89, 192, 0.15);
}

.wizard-stepper__circle--completed {
    background-color: #22C55E;
    color: #ffffff;
}

.wizard-stepper__label {
    margin-top: 8px;
    font-size: 0.875rem;
    text-align: center;
    color: #64748B;
}

.wizard-stepper__label--current {
    color: #1F59C0;
    font-weight: 500;
}

.wizard-stepper__connector {
    position: absolute;
    top: 20px;
    left: calc(50% + 24px);
    right: calc(-50% + 24px);
    height: 2px;
    background-color: #E2E8F0;
}

.wizard-stepper__connector--completed {
    background-color: #22C55E;
}

/* ============================================
   Tax Type Card Component (Figma exact)
   ============================================ */
.tax-type-card {
    position: relative;
    width: 100%;
    padding: 24px;
    border-radius: 16px;
    border: 2px solid #E2E8F0;
    background-color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: all 250ms ease;
}

.tax-type-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.tax-type-card--selected {
    border-color: #1F59C0;
    background-color: rgba(31, 89, 192, 0.05);
    box-shadow: 0 4px 12px rgba(31, 89, 192, 0.15);
}

.tax-type-card__check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #1F59C0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.tax-type-card__name {
    font-size: 1.125rem;
    font-weight: 500;
    color: #0F172A;
    margin-bottom: 4px;
}

.tax-type-card__category {
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 12px;
}

.tax-type-card__amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F59C0;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   Validation Result Card (Figma exact)
   ============================================ */
.validation-card {
    border-radius: 16px;
    border: 2px solid;
    padding: 24px;
}

.validation-card--valid {
    background-color: #F0FDF4;
    border-color: #22C55E;
}

.validation-card--redeemed {
    background-color: #FFFBEB;
    border-color: #F59E0B;
}

.validation-card--invalid {
    background-color: #FEF2F2;
    border-color: #EF4444;
}

.validation-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.validation-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.validation-card__icon--valid { color: #16A34A; }
.validation-card__icon--redeemed { color: #D97706; }
.validation-card__icon--invalid { color: #DC2626; }

.validation-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
}

.validation-card__message {
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 16px;
}

.validation-card__details {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
}

.validation-card__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
}

.validation-card__row:last-child {
    border-bottom: none;
}

.validation-card__label {
    color: #64748B;
    font-size: 0.875rem;
}

.validation-card__value {
    color: #0F172A;
    font-weight: 500;
    font-size: 0.875rem;
}

.validation-card__value--mono {
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   Empty State Component (Figma exact)
   ============================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    text-align: center;
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    color: #94A3B8;
    margin-bottom: 16px;
}

.empty-state__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
}

.empty-state__description {
    font-size: 0.875rem;
    color: #64748B;
    max-width: 400px;
    margin-bottom: 24px;
}

/* ============================================
   Offline Banner Component (Figma exact)
   ============================================ */
.offline-banner {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
    color: #ffffff;
}

.offline-banner__content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.offline-banner__text {
    font-size: 0.875rem;
}

.sync-badge {
    position: relative;
    display: inline-flex;
}

.sync-badge__count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background-color: #F97316;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   QR Code Display Component
   ============================================ */
.qr-display {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid #E2E8F0;
    display: inline-block;
}

.qr-display__canvas {
    display: block;
}

/* ============================================
   Modal / Dialog Component (Figma exact)
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1000;
    animation: fadeIn 150ms ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 32px);
    overflow: hidden;
    animation: scaleIn 150ms ease;
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.modal__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
}

.modal__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: #64748B;
    cursor: pointer;
    border-radius: 8px;
    transition: all 150ms ease;
}

.modal__close:hover {
    background-color: #F1F5F9;
    color: #0F172A;
}

.modal__body {
    padding: 24px;
    overflow-y: auto;
}

.modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #E2E8F0;
    background-color: #F8FAFC;
}

/* ============================================
   Tooltip Component
   ============================================ */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip__content {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background-color: #0F172A;
    color: #ffffff;
    font-size: 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 150ms ease;
    z-index: 100;
}

.tooltip__content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #0F172A;
}

.tooltip:hover .tooltip__content {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Tabs Component
   ============================================ */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #E2E8F0;
}

.tab {
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748B;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 150ms ease;
}

.tab:hover {
    color: #0F172A;
}

.tab--active {
    color: #1F59C0;
}

.tab--active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1F59C0;
}

.tab-panel {
    padding: 24px 0;
}

/* ============================================
   Progress Bar Component
   ============================================ */
.progress {
    width: 100%;
    height: 8px;
    background-color: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}

.progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #1F59C0, #1a4da3);
    border-radius: 4px;
    transition: width 300ms ease;
}

.progress--success .progress__bar {
    background: linear-gradient(90deg, #22C55E, #16A34A);
}

.progress--warning .progress__bar {
    background: linear-gradient(90deg, #F59E0B, #D97706);
}

.progress--danger .progress__bar {
    background: linear-gradient(90deg, #EF4444, #DC2626);
}

/* ============================================
   Skeleton / Loading Placeholder
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton--text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton--title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton--avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton--button {
    height: 48px;
    width: 120px;
}

.skeleton--card {
    height: 200px;
}

/* ============================================
   Avatar Component
   ============================================ */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4da3, #1F59C0);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.avatar--sm {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.avatar--lg {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
}

.avatar--xl {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ============================================
   Divider / Separator
   ============================================ */
.divider {
    height: 1px;
    background-color: #E2E8F0;
    margin: 16px 0;
}

.divider--vertical {
    width: 1px;
    height: auto;
    margin: 0 16px;
}

.divider--with-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #64748B;
    font-size: 0.875rem;
}

.divider--with-text::before,
.divider--with-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #E2E8F0;
}

/* ============================================
   Toast / Notification
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 420px;
    animation: slideIn 300ms ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast--success .toast__icon { color: #22C55E; }
.toast--error .toast__icon { color: #EF4444; }
.toast--warning .toast__icon { color: #F59E0B; }
.toast--info .toast__icon { color: #3B82F6; }

.toast__content {
    flex: 1;
}

.toast__title {
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
}

.toast__message {
    font-size: 0.875rem;
    color: #64748B;
}

.toast__close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    border-radius: 4px;
    transition: all 150ms ease;
}

.toast__close:hover {
    background-color: #F1F5F9;
    color: #0F172A;
}

/* ============================================
   Dropdown Menu
   ============================================ */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown__menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 200px;
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 150ms ease;
}

.dropdown.is-open .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    font-size: 0.875rem;
    color: #334155;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 150ms ease;
}

.dropdown__item:hover {
    background-color: #F1F5F9;
}

.dropdown__item--danger {
    color: #DC2626;
}

.dropdown__item--danger:hover {
    background-color: #FEF2F2;
}

.dropdown__divider {
    height: 1px;
    background-color: #E2E8F0;
    margin: 8px 0;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.breadcrumb__item {
    color: #64748B;
    text-decoration: none;
    transition: color 150ms ease;
}

.breadcrumb__item:hover {
    color: #1F59C0;
}

.breadcrumb__item--active {
    color: #0F172A;
    font-weight: 500;
}

.breadcrumb__separator {
    color: #CBD5E1;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination__button {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    background-color: #ffffff;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #334155;
    cursor: pointer;
    transition: all 150ms ease;
}

.pagination__button:hover:not(:disabled) {
    background-color: #F1F5F9;
    border-color: #CBD5E1;
}

.pagination__button--active {
    background-color: #1F59C0;
    border-color: #1F59C0;
    color: #ffffff;
}

.pagination__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__ellipsis {
    padding: 0 8px;
    color: #64748B;
}


/* ============================================
   DRC Shell Layout (Global Styles)
   ============================================ */
.drc-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #F8FAFC;
    color: #0F172A;
}

.drc-shell__flag-stripe {
    height: 4px;
    background: linear-gradient(90deg, #1F59C0 0%, #1F59C0 33.33%, #FFCE00 33.33%, #FFCE00 66.66%, #E4002B 66.66%, #E4002B 100%);
    flex-shrink: 0;
}

.drc-shell__header {
    background-color: #ffffff;
    border-bottom: 1px solid #E2E8F0;
    padding: 0 24px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

.drc-shell__header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.drc-shell__menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #64748B;
    transition: background-color 150ms ease;
}

.drc-shell__menu-toggle:hover {
    background-color: #F1F5F9;
}

.drc-shell__branding {
    display: flex;
    flex-direction: column;
}

.drc-shell__title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.drc-shell__title-row h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F59C0;
}

.drc-shell__tagline {
    margin: 0;
    font-size: 0.75rem;
    color: #64748B;
}

.drc-shell__header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.drc-shell__user-chip {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drc-shell__user-meta {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.drc-shell__user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #0F172A;
}

.drc-shell__user-role {
    font-size: 0.75rem;
    color: #64748B;
}

.drc-shell__logout {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #64748B;
    transition: all 150ms ease;
}

.drc-shell__logout:hover {
    background-color: #FEE2E2;
    color: #DC2626;
}

.drc-shell__signin {
    padding: 8px 16px;
    background-color: #1F59C0;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.drc-shell__signin:hover {
    background-color: #1a4da3;
}

.drc-shell__layout {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* Sidebar */
.drc-shell__sidebar {
    width: 280px;
    background-color: #ffffff;
    border-right: 1px solid #E2E8F0;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Navigation */
.drc-shell__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Navigation Link - Default */
.drc-shell__nav-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    transition: all 150ms ease !important;
    border: 1px solid transparent !important;
    background-color: transparent !important;
}

.drc-shell__nav-link:hover {
    background-color: #F1F5F9 !important;
    color: #1F59C0 !important;
}

/* Navigation Link - Active */
.drc-shell__nav-link.active {
    background-color: rgba(31, 89, 192, 0.08) !important;
    color: #1F59C0 !important;
    border-color: rgba(31, 89, 192, 0.25) !important;
}

/* Nav Icon */
.drc-shell__nav-icon {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
    color: inherit !important;
}

.drc-shell__nav-link svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
}

/* Sidebar Overlay */
.drc-shell__sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.drc-shell__sidebar-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Main Content */
.drc-shell__content {
    flex: 1;
    padding: 32px;
    background-color: #F8FAFC;
    overflow-y: auto;
    min-width: 0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .drc-shell__sidebar {
        position: fixed;
        top: 68px;
        bottom: 0;
        left: 0;
        width: 300px;
        z-index: 45;
        transform: translateX(-100%);
        transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
    }

    .drc-shell__sidebar.is-open {
        transform: translateX(0);
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    }

    .drc-shell__sidebar-overlay {
        display: block;
        top: 68px;
    }

    .drc-shell__content {
        padding: 24px 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .drc-shell__header {
        padding: 0 12px;
        height: 56px;
    }

    .drc-shell__sidebar {
        top: 60px;
        width: 280px;
    }

    .drc-shell__sidebar-overlay {
        top: 60px;
    }

    .drc-shell__title-row h1 {
        font-size: 1.125rem;
    }

    .drc-shell__tagline {
        font-size: 0.6875rem;
    }

    .drc-shell__user-meta {
        display: none;
    }

    .drc-shell__content {
        padding: 16px 12px;
    }

    .drc-shell__nav-link {
        padding: 12px 14px !important;
        font-size: 0.875rem !important;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .drc-shell__sidebar {
        width: 300px;
    }

    .drc-shell__content {
        padding: 40px;
    }
}

/* ============================================
   Admin Page Styles (Figma Design)
   ============================================ */

/* Page Container */
.admin-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

/* Page Header */
.admin-page__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.admin-page__title {
    margin: 0 0 8px 0;
    font-size: 1.875rem;
    font-weight: 600;
    color: #0F172A;
}

.admin-page__subtitle {
    margin: 0;
    font-size: 1rem;
    color: #64748B;
}

/* Data Table */
.data-table {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
}

.data-table__wrapper {
    overflow-x: auto;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    background-color: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}

.data-table th button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.data-table td {
    padding: 16px 20px;
    font-size: 0.875rem;
    color: #334155;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: #F8FAFC;
}

.data-table__name {
    font-weight: 500;
    color: #0F172A;
}

.data-table__sub {
    font-size: 0.75rem;
    color: #94A3B8;
    margin-top: 2px;
}

.data-table__amount {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.data-table__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.data-table__action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
    color: #64748B;
    cursor: pointer;
    transition: all 150ms ease;
}

.data-table__action-btn:hover {
    background-color: #F1F5F9;
    color: #1F59C0;
}

.data-table__action-btn--danger:hover {
    background-color: #FEE2E2;
    color: #DC2626;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge--active,
.status-badge--issued {
    background-color: #DCFCE7;
    color: #166534;
}

.status-badge--inactive,
.status-badge--cancelled {
    background-color: #FEE2E2;
    color: #991B1B;
}

.status-badge--pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-badge--redeemed {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.status-badge--expired {
    background-color: #F1F5F9;
    color: #64748B;
}

.status-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Slide-over Panel */
.slideover-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.slideover-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.slideover-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 101;
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.slideover-panel.is-open {
    transform: translateX(0);
}

.slideover-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #E2E8F0;
}

.slideover-panel__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0F172A;
}

.slideover-panel__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
    color: #64748B;
    cursor: pointer;
    transition: all 150ms ease;
}

.slideover-panel__close:hover {
    background-color: #F1F5F9;
}

.slideover-panel__body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.slideover-panel__footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #E2E8F0;
}

.slideover-panel__footer .btn {
    flex: 1;
}

/* Form Styles for Admin */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.admin-form .form-control,
.admin-form .form-select,
.admin-form .form-textarea {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 1rem;
    color: #0F172A;
    background-color: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    transition: all 200ms ease;
}

.admin-form .form-textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.admin-form .form-control:focus,
.admin-form .form-select:focus,
.admin-form .form-textarea:focus {
    outline: none;
    border-color: #1F59C0;
    box-shadow: 0 0 0 3px rgba(31, 89, 192, 0.15);
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.toggle-switch__track {
    width: 44px;
    height: 24px;
    background-color: #CBD5E1;
    border-radius: 999px;
    position: relative;
    transition: background-color 200ms ease;
}

.toggle-switch__track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 200ms ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-switch__track {
    background-color: #22C55E;
}

.toggle-switch input:checked + .toggle-switch__track::after {
    transform: translateX(20px);
}

.toggle-switch input {
    display: none;
}

.toggle-switch__label {
    font-size: 0.875rem;
    color: #334155;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: #CBD5E1;
}

.empty-state__title {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
}

.empty-state__text {
    margin: 0 0 24px 0;
    font-size: 0.875rem;
    color: #64748B;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

.skeleton--text {
    height: 16px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton--title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .admin-page__header {
        flex-direction: column;
        align-items: stretch;
    }

    .slideover-panel {
        max-width: 100%;
    }

    .data-table th,
    .data-table td {
        padding: 12px 16px;
    }
}

/* ============================================
   Dashboard / Home Page Styles (Figma Design)
   ============================================ */

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.kpi-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: box-shadow 200ms ease;
}

.kpi-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kpi-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-card__icon svg {
    width: 24px;
    height: 24px;
}

.kpi-card__icon--primary {
    background-color: rgba(31, 89, 192, 0.1);
    color: #1F59C0;
}

.kpi-card__icon--success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.kpi-card__icon--warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.kpi-card__icon--purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.kpi-card__content {
    flex: 1;
    min-width: 0;
}

.kpi-card__label {
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 4px;
}

.kpi-card__value {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.kpi-card__change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 999px;
}

.kpi-card__change--up {
    background-color: #DCFCE7;
    color: #166534;
}

.kpi-card__change--down {
    background-color: #FEE2E2;
    color: #991B1B;
}

/* Filter Bar */
.filter-bar {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 24px;
    margin-bottom: 32px;
}

.filter-bar__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.filter-bar__row:last-child {
    margin-bottom: 0;
}

.filter-bar__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
}

.filter-bar__select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 1rem;
    color: #0F172A;
    background-color: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    cursor: pointer;
}

.filter-bar__date-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 640px) {
    .filter-bar__date-group {
        grid-template-columns: 1fr;
    }
}

.filter-bar__date {
    height: 48px;
    padding: 0 16px;
    font-size: 1rem;
    color: #0F172A;
    background-color: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
}

/* Status Filter Chips */
.status-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    background-color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 150ms ease;
}

.status-chip:hover {
    border-color: #CBD5E1;
}

.status-chip.is-active {
    border-color: #1F59C0;
    background-color: rgba(31, 89, 192, 0.05);
    color: #1F59C0;
}

.status-chip__count {
    font-size: 0.75rem;
    opacity: 0.7;
    font-family: 'JetBrains Mono', monospace;
}

/* Status Breakdown Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.status-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    padding: 16px;
    transition: box-shadow 200ms ease;
}

.status-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.status-card__badge {
    margin-bottom: 12px;
}

.status-card__value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0F172A;
    font-family: 'JetBrains Mono', monospace;
}

/* Dashboard Section */
.dashboard-section {
    margin-bottom: 32px;
}

.dashboard-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dashboard-section__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F172A;
    margin: 0;
}

/* Dashboard Grid (2 columns) */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Dashboard Panels Grid (3 cards row) */
.dashboard-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 1200px) {
    .dashboard-panels {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-panels {
        grid-template-columns: 1fr;
    }
}

.dashboard-panel {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.dashboard-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.dashboard-panel__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0F172A;
}

.dashboard-panel__meta {
    color: #94A3B8;
    font-size: 0.85rem;
    white-space: nowrap;
}

.dashboard-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-panel__list {
    margin: 0;
    padding-left: 18px;
    color: #334155;
}

.dashboard-panel__list li {
    margin-bottom: 6px;
}

.dashboard-panel__muted {
    color: #94A3B8;
}

.dashboard-panel__empty {
    color: #94A3B8;
    margin: 0;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

/* Period Buttons */
.period-buttons {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background-color: #F8FAFF;
    border: 1px solid #D6E3FF;
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.period-btn {
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1F2A37;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 180ms ease;
}

.period-btn + .period-btn {
    margin-left: 4px;
}

.period-btn:hover {
    background-color: #E6EEFF;
}

.period-btn.is-active {
    background-color: #1F59C0;
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(31, 89, 192, 0.25);
}

.period-btn svg {
    width: 16px;
    height: 16px;
}

.period-btn:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.5);
    outline-offset: 2px;
}

.filter-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.filter-panel__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-panel__group--dates {
    min-width: 260px;
}

.filter-panel__group--statuses {
    grid-column: 1 / -1;
}

.filter-panel__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0F172A;
}

.filter-panel__select,
.filter-panel__date {
    border: 2px solid #CBD5E1;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.95rem;
    background-color: #fff;
    transition: border-color 150ms ease;
}

.filter-panel__select:focus,
.filter-panel__date:focus {
    border-color: #1F59C0;
    box-shadow: 0 0 0 3px rgba(31, 89, 192, 0.15);
    outline: none;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-range__separator {
    color: #94A3B8;
    font-weight: 600;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #CBD5E1;
    background-color: #F8FAFF;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 150ms ease;
}

.chip.is-active {
    background-color: #1F59C0;
    border-color: #1F59C0;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(31, 89, 192, 0.25);
}

.filter-panel__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: flex-end;
}

.filter-panel__hint {
    color: #94A3B8;
}

@media (max-width: 768px) {
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .filter-panel__actions {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .filter-panel__group--statuses {
        grid-column: span 2;
        align-self: flex-end;
    }
}

@media (min-width: 1200px) {
    .filter-panel {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-start;
    }

    .filter-panel__group,
    .filter-panel__actions {
        flex: 1 1 220px;
    }

    .filter-panel__group--dates {
        flex: 2 1 360px;
    }

    .filter-panel__group--statuses {
        flex: 1 1 320px;
        margin-left: auto;
        align-self: flex-start;
    }

    .filter-panel__actions {
        flex: 0 0 auto;
        align-self: flex-start;
    }
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.chart-card {
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.chart-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.chart-card__header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chart-card__header span {
    font-size: 0.85rem;
    color: #94A3B8;
}

.chart-card__empty {
    color: #94A3B8;
    font-size: 0.9rem;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-bar__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    margin-bottom: 6px;
}

.chart-bar__name {
    color: #0F172A;
    font-weight: 600;
}

.chart-bar__value {
    color: #0F172A;
    font-weight: 600;
}

.chart-bar__track {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background-color: #E2E8F0;
    overflow: hidden;
}

.chart-bar__track span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1F59C0, #3B82F6);
}

.chart-bar__percentage {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-top: 4px;
}
