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

:root {
    --primary: #56e341;
    --primary-light: #4ade80;
    --shell-yellow: #fbce07;
    --shell-red: #dd1d21;
    --shell-green: #56e341;
    --shell-accent: #f59e0b;
    --background-light: #f8fafc;
    --background-dark: #0f172a;
    --sidebar-width: 280px;
    --header-height: 80px;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --premium-gradient: linear-gradient(135deg, #166534 0%, #22c55e 100%);
}

.premium-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

.text-gradient {
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Box sizing fix for all elements */
*, *::before, *::after {
    box-sizing: border-box;
    text-transform: uppercase;
}

/* Tailwind-like Gradient Classes */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--start-color), var(--end-color));
}

.from-shell-red {
    --start-color: var(--shell-red);
}

.to-primary {
    --end-color: var(--primary);
}

.from-primary {
    --start-color: var(--primary);
}

.to-orange-400 {
    --end-color: #22c55e;
}

/* Utility Classes */
.text-white { color: white; }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }

.bg-white { background-color: white; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }

.bg-shell-red { background-color: var(--shell-red); }
.bg-shell-yellow { background-color: var(--shell-yellow); }
.bg-shell-green { background-color: var(--shell-green); }
.bg-primary { background-color: var(--primary); }

.text-shell-red { color: var(--shell-red); }
.text-shell-yellow { color: var(--shell-yellow); }
.text-shell-green { color: var(--shell-green); }
.text-primary { color: var(--primary); }

.fill-shell-green { fill: var(--shell-green); }

.backdrop-blur-md { backdrop-filter: blur(12px); }

.leading-relaxed { line-height: 1.625; }

.hover\:scale-105:hover { transform: scale(1.05); }

.transition-transform { transition: transform 0.2s ease; }
.transition-all { transition: all 0.2s ease; }

.rounded-2xl { border-radius: 16px; }
.rounded-xl { border-radius: 12px; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 8px; }

.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.overflow-hidden { overflow: hidden; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

.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; }

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }

.tracking-tight { letter-spacing: -0.025em; }

.w-fit { width: fit-content; }
.w-full { width: 100%; }

.h-full { height: 100%; }

.object-cover { object-fit: cover; }
.mix-blend-multiply { mix-blend-mode: multiply; }
.opacity-80 { opacity: 0.8; }

.inline-flex { display: inline-flex; }

.relative { position: relative; }
.absolute { position: absolute; }

.top-3 { top: 12px; }
.right-3 { right: 12px; }

.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }

.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-2\.5 { padding-top: 10px; padding-bottom: 10px; }

.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/2 { width: 50%; }

.h-40 { height: 10rem; }
.h-44 { height: 11rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }

.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }

/* Responsive Grid System */
.grid {
    display: grid;
    gap: 16px;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Grid responsive breakpoints */
@media (max-width: 640px) {
    .grid {
        gap: 12px;
    }
}

@media (min-width: 640px) {
    .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:gap-3 { gap: 12px; }
    .sm\:gap-4 { gap: 16px; }
    .sm\:gap-6 { gap: 24px; }
    .sm\:mb-4 { margin-bottom: 16px; }
    .sm\:mb-6 { margin-bottom: 24px; }
    .sm\:mb-8 { margin-bottom: 32px; }
    .sm\:mt-4 { margin-top: 16px; }
    .sm\:mt-6 { margin-top: 24px; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:flex { display: flex; }
    .sm\:w-full { width: 100%; }
}

@media (min-width: 768px) {
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:gap-3 { gap: 12px; }
    .md\:gap-4 { gap: 16px; }
    .md\:gap-6 { gap: 24px; }
    .md\:gap-8 { gap: 32px; }
    .md\:mb-4 { margin-bottom: 16px; }
    .md\:mb-6 { margin-bottom: 24px; }
    .md\:mb-8 { margin-bottom: 32px; }
    .md\:mt-4 { margin-top: 16px; }
    .md\:mt-6 { margin-top: 24px; }
    .md\:p-4 { padding: 16px; }
    .md\:p-6 { padding: 24px; }
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:w-full { width: 100%; }
    .md\:text-2xl { font-size: 24px; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:gap-3 { gap: 12px; }
    .lg\:gap-4 { gap: 16px; }
    .lg\:gap-6 { gap: 24px; }
    .lg\:gap-8 { gap: 32px; }
    .lg\:mb-4 { margin-bottom: 16px; }
    .lg\:mb-6 { margin-bottom: 24px; }
    .lg\:mb-8 { margin-bottom: 32px; }
    .lg\:mt-4 { margin-top: 16px; }
    .lg\:mt-6 { margin-top: 24px; }
    .lg\:col-span-1 { grid-column: span 1 / span 1; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:w-full { width: 100%; }
}
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Tablet breakpoint */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Desktop breakpoint */
@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:w-1\/3 { width: 33.333333%; }
    .md\:w-2\/3 { width: 66.666667%; }
    .md\:h-auto { height: auto; }
    .md\:p-8 { padding: 32px; }
    .md\:text-2xl { font-size: 24px; }
    .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Large desktop breakpoint */
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Mobile-first responsive utilities */
@media (max-width: 640px) {
    .hide-mobile { display: none !important; }
    .show-mobile { display: block !important; }
    
    .text-xs-mobile { font-size: 12px; }
    .text-sm-mobile { font-size: 14px; }
    .text-base-mobile { font-size: 16px; }
    
    .p-2-mobile { padding: 8px; }
    .p-4-mobile { padding: 16px; }
    .p-6-mobile { padding: 24px; }
    
    .gap-2-mobile { gap: 8px; }
    .gap-4-mobile { gap: 16px; }
}

@media (min-width: 641px) {
    .show-mobile { display: none !important; }
    .hide-mobile { display: inline !important; }
}

/* Responsive text sizes */
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }

@media (max-width: 640px) {
    .text-2xl { font-size: 20px; }
    .text-3xl { font-size: 24px; }
    .text-4xl { font-size: 28px; }
}

/* Responsive padding */
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

@media (max-width: 640px) {
    .p-4 { padding: 12px; }
    .p-6 { padding: 16px; }
    .p-8 { padding: 20px; }
}

/* Responsive margins */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

@media (max-width: 640px) {
    .mb-4 { margin-bottom: 12px; }
    .mb-6 { margin-bottom: 16px; }
    .mb-8 { margin-bottom: 20px; }
    .mt-4 { margin-top: 12px; }
    .mt-6 { margin-top: 16px; }
}

/* Responsive width classes */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }

@media (max-width: 640px) {
    .w-full { width: 100%; }
    .w-1\/2, .w-1\/3, .w-2\/3, .w-1\/4, .w-3\/4 { width: 100%; }
}

/* Responsive flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

@media (max-width: 640px) {
    .flex-col-mobile { flex-direction: column; }
    .gap-4 { gap: 12px; }
    .gap-6 { gap: 16px; }
}

/* Responsive display */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:inline-flex { display: inline-flex; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Responsive card */
.card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.2s ease;
}

@media (max-width: 640px) {
    .card {
        padding: 16px;
        border-radius: 12px;
    }
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Responsive table */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 100%;
}

.table-responsive table {
    min-width: 600px;
}

@media (max-width: 640px) {
    .table-responsive {
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 0;
    }
    
    .table-responsive table th,
    .table-responsive table td {
        padding: 12px 8px;
        font-size: 13px;
    }
}

/* Responsive button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

@media (max-width: 640px) {
    .btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
    }
    
    .btn-sm {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Responsive header */
.header {
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .header-title {
        font-size: 22px;
    }
    
    .header-subtitle {
        font-size: 14px;
    }
}

/* Responsive KPI cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

@media (min-width: 480px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .kpi-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile bottom navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 8px 0;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

@media (max-width: 640px) {
    .mobile-nav {
        display: flex;
        justify-content: space-around;
    }
    
    .dashboard-container {
        padding-bottom: 70px;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: #64748b;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item .material-symbols-outlined {
    font-size: 24px;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive section titles */
.section-title {
    font-size: 18px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* Responsive form elements */
input, select, textarea {
    font-size: 16px;
}

@media (max-width: 640px) {
    input, select, textarea {
        font-size: 16px;
    }
    
    input[type="checkbox"],
    input[type="radio"] {
        width: 20px;
        height: 20px;
    }
}

/* Responsive dashboard container */
.content-wrapper {
    padding: 16px;
}

@media (min-width: 640px) {
    .content-wrapper {
        padding: 24px;
    }
}

@media (min-width: 1024px) {
    .content-wrapper {
        padding: 32px;
    }
}

/* Responsive sidebar */
.sidebar {
    width: 280px;
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .sidebar {
        width: 100%;
    }
}

/* Scrollable horizontal for small screens */
.scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.scroll-x > * {
    scroll-snap-align: start;
}

/* Responsive badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Responsive grid with auto-fit */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

@media (max-width: 640px) {
    .grid-auto-fit {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE SIZES - Logos, Icons, Text
   ============================================ */

/* Logo sizes */
.logo-sm { width: 24px; height: 24px; }
.logo-md { width: 32px; height: 32px; }
.logo-lg { width: 40px; height: 40px; }
.logo-xl { width: 48px; height: 48px; }
.logo-2xl { width: 60px; height: 60px; }
.logo-3xl { width: 80px; height: 80px; }

@media (max-width: 640px) {
    .logo-lg { width: 32px; height: 32px; }
    .logo-xl { width: 40px; height: 40px; }
    .logo-2xl { width: 48px; height: 48px; }
    .logo-3xl { width: 60px; height: 60px; }
}

/* Icon sizes */
.icon-xs { font-size: 14px; }
.icon-sm { font-size: 18px; }
.icon-md { font-size: 20px; }
.icon-lg { font-size: 24px; }
.icon-xl { font-size: 32px; }
.icon-2xl { font-size: 40px; }
.icon-3xl { font-size: 48px; }

@media (max-width: 640px) {
    .icon-lg { font-size: 20px; }
    .icon-xl { font-size: 24px; }
    .icon-2xl { font-size: 32px; }
    .icon-3xl { font-size: 36px; }
}

/* Text sizes - Mobile first */
.text-xs { font-size: 11px; }
.text-sm { font-size: 13px; }
.text-base { font-size: 15px; }
.text-lg { font-size: 17px; }
.text-xl { font-size: 19px; }
.text-2xl { font-size: 22px; }
.text-3xl { font-size: 26px; }
.text-4xl { font-size: 30px; }
.text-5xl { font-size: 36px; }

@media (min-width: 640px) {
    .sm\:text-xs { font-size: 11px; }
    .sm\:text-sm { font-size: 13px; }
    .sm\:text-base { font-size: 15px; }
    .sm\:text-lg { font-size: 17px; }
    .sm\:text-xl { font-size: 19px; }
    .sm\:text-2xl { font-size: 22px; }
    .sm\:text-3xl { font-size: 26px; }
    .sm\:text-4xl { font-size: 30px; }
    .sm\:text-5xl { font-size: 36px; }
}

@media (min-width: 768px) {
    .md\:text-xs { font-size: 12px; }
    .md\:text-sm { font-size: 14px; }
    .md\:text-base { font-size: 16px; }
    .md\:text-lg { font-size: 18px; }
    .md\:text-xl { font-size: 20px; }
    .md\:text-2xl { font-size: 24px; }
    .md\:text-3xl { font-size: 28px; }
    .md\:text-4xl { font-size: 32px; }
    .md\:text-5xl { font-size: 40px; }
}

@media (min-width: 1024px) {
    .lg\:text-xs { font-size: 12px; }
    .lg\:text-sm { font-size: 14px; }
    .lg\:text-base { font-size: 16px; }
    .lg\:text-lg { font-size: 18px; }
    .lg\:text-xl { font-size: 20px; }
    .lg\:text-2xl { font-size: 24px; }
    .lg\:text-3xl { font-size: 30px; }
    .lg\:text-4xl { font-size: 36px; }
    .lg\:text-5xl { font-size: 48px; }
}

/* Hero/Header text sizes */
.hero-title { font-size: 24px; font-weight: 700; line-height: 1.2; }
.hero-subtitle { font-size: 14px; opacity: 0.9; }
.hero-value { font-size: 32px; font-weight: 800; }
.hero-value-lg { font-size: 40px; font-weight: 800; }

@media (min-width: 640px) {
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 15px; }
    .hero-value { font-size: 36px; }
    .hero-value-lg { font-size: 48px; }
}

@media (min-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-value { font-size: 40px; }
    .hero-value-lg { font-size: 56px; }
}

/* Card padding and text */
.card { padding: 16px; }
.card-title { font-size: 16px; font-weight: 600; }
.card-value { font-size: 24px; font-weight: 700; }
.card-label { font-size: 12px; color: #64748b; }

@media (min-width: 640px) {
    .card { padding: 20px; }
    .card-title { font-size: 18px; }
    .card-value { font-size: 28px; }
    .card-label { font-size: 13px; }
}

@media (min-width: 768px) {
    .card { padding: 24px; }
    .card-title { font-size: 18px; }
    .card-value { font-size: 32px; }
    .card-label { font-size: 14px; }
}

/* Table responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 500px;
    font-size: 13px;
}

.table-responsive th,
.table-responsive td {
    padding: 10px 8px;
}

@media (max-width: 640px) {
    .table-responsive {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 8px;
    }
    
    .table-responsive table {
        min-width: 450px;
        font-size: 12px;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: 8px 6px;
    }
    
    .table-responsive .hide-mobile {
        display: none;
    }
}

/* Bank logo in tables */
.bank-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
}

@media (max-width: 640px) {
    .bank-logo {
        width: 28px;
        height: 28px;
    }
}

/* Form inputs */
.form-input,
.form-select {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
}

@media (max-width: 640px) {
    .form-input,
    .form-select {
        padding: 10px 14px;
        font-size: 16px;
    }
}

/* Buttons */
.btn {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

@media (max-width: 640px) {
    .btn {
        padding: 10px 16px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .btn-sm {
        padding: 8px 12px;
        font-size: 12px;
        width: auto;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Badges */
.badge {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 12px;
}

@media (max-width: 640px) {
    .badge {
        padding: 3px 8px;
        font-size: 10px;
    }
}

/* Sidebar */
.sidebar {
    width: 260px;
    padding: 16px;
}

.sidebar .nav-item {
    padding: 10px 14px;
    font-size: 14px;
}

.sidebar .logo {
    width: 36px;
    height: 36px;
}

@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
    }
}

/* Header */
.header {
    padding: 16px;
}

.header-title {
    font-size: 22px;
    font-weight: 700;
}

.header-subtitle {
    font-size: 14px;
    color: #64748b;
}

@media (min-width: 640px) {
    .header {
        padding: 20px 24px;
    }
    
    .header-title {
        font-size: 26px;
    }
    
    .header-subtitle {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    .header {
        padding: 24px 32px;
    }
    
    .header-title {
        font-size: 28px;
    }
    
    .header-subtitle {
        font-size: 16px;
    }
}

/* Dashboard main content */
.content-wrapper {
    padding: 16px;
}

@media (min-width: 640px) {
    .content-wrapper {
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .content-wrapper {
        padding: 24px 32px;
    }
}

@media (min-width: 1024px) {
    .content-wrapper {
        padding: 32px;
    }
}

/* Section spacing */
section {
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    section {
        margin-bottom: 32px;
    }
}

/* Grid gaps */
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

@media (max-width: 640px) {
    .gap-4 { gap: 12px; }
    .gap-6 { gap: 16px; }
    .gap-8 { gap: 20px; }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.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-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-grow { flex-grow: 1; }

@media (max-width: 640px) {
    .flex-col-mobile { flex-direction: column; }
    .flex-wrap-mobile { flex-wrap: wrap; }
    .items-center-mobile { align-items: center; }
    .justify-between-mobile { justify-content: space-between; }
}

/* Spacing utilities */
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.ml-1 { margin-left: 4px; }
.ml-2 { margin-left: 8px; }
.ml-3 { margin-left: 12px; }
.ml-4 { margin-left: 16px; }
.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.mr-3 { margin-right: 12px; }
.mr-4 { margin-right: 16px; }

@media (max-width: 640px) {
    .p-4 { padding: 12px; }
    .p-5 { padding: 16px; }
    .p-6 { padding: 20px; }
    .p-8 { padding: 24px; }
    
    .mb-4 { margin-bottom: 12px; }
    .mb-5 { margin-bottom: 16px; }
    .mb-6 { margin-bottom: 20px; }
    .mb-8 { margin-bottom: 24px; }
    .mt-4 { margin-top: 12px; }
    .mt-6 { margin-top: 16px; }
}

/* Width utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-1\/5 { width: 20%; }
.w-2\/5 { width: 40%; }
.w-3\/5 { width: 60%; }
.w-4\/5 { width: 80%; }

@media (max-width: 640px) {
    .w-full { width: 100%; }
    .w-1\/2, .w-1\/3, .w-2\/3, .w-1\/4, .w-3\/4, .w-1\/5, .w-2\/5, .w-3\/5, .w-4\/5 {
        width: 100%;
    }
}

/* Height utilities */
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-auto { height: auto; }
.h-8 { height: 32px; }
.h-10 { height: 40px; }
.h-12 { height: 48px; }
.h-16 { height: 64px; }

/* Min height */
.min-h-screen { min-height: 100vh; }

/* Display utilities */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }

@media (min-width: 640px) {
    .sm\:flex { display: flex; }
    .sm\:hidden { display: none; }
    .sm\:block { display: block; }
    .sm\:inline-flex { display: inline-flex; }
    .sm\:grid { display: grid; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:inline-flex { display: inline-flex; }
    .md\:grid { display: grid; }
    .md\:flex-row { flex-direction: row; }
    .md\:w-1\/2 { width: 50%; }
    .md\:w-1\/3 { width: 33.333333%; }
    .md\:w-2\/3 { width: 66.666667%; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:inline-flex { display: inline-flex; }
    .lg\:grid { display: grid; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:w-1\/3 { width: 33.333333%; }
    .lg\:w-2\/3 { width: 66.666667%; }
    .lg\:w-1\/4 { width: 25%; }
    .lg\:w-3\/4 { width: 75%; }
}

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* Z-index */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Border radius */
.rounded { border-radius: 4px; }
.rounded-sm { border-radius: 6px; }
.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 10px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

@media (max-width: 640px) {
    .rounded-lg { border-radius: 8px; }
    .rounded-xl { border-radius: 10px; }
    .rounded-2xl { border-radius: 12px; }
}

/* Shadow */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.1); }

/* Border */
.border { border: 1px solid #e2e8f0; }
.border-t { border-top: 1px solid #e2e8f0; }
.border-b { border-bottom: 1px solid #e2e8f0; }
.border-l { border-left: 1px solid #e2e8f0; }
.border-r { border-right: 1px solid #e2e8f0; }
.border-0 { border: none; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* Text align */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* White space */
.whitespace-nowrap { white-space: nowrap; }
.whitespace-normal { white-space: normal; }

/* Line height */
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

/* List reset */
.list-none { list-style: none; }

/* Image */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-fill { object-fit: fill; }

/* User select */
.select-none { user-select: none; }
.select-text { user-select: text; }

/* Pointer events */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* Background colors */
.bg-white { background-color: white; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-primary { background-color: var(--primary); }
.bg-success { background-color: var(--shell-green); }
.bg-warning { background-color: #f59e0b; }
.bg-danger { background-color: #ef4444; }

/* Text colors */
.text-white { color: white; }
.text-black { color: black; }
.text-gray { color: #6b7280; }
.text-muted { color: #64748b; }
.text-primary { color: var(--primary); }
.text-success { color: var(--shell-green); }
.text-warning { color: #f59e0b; }
.text-danger { color: #ef4444; }

/* Font weight */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Truncate */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Vertical align */
.align-middle { vertical-align: middle; }
.align-top { vertical-align: top; }
.align-bottom { vertical-align: bottom; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Public Sans', sans-serif;
    background-color: var(--background-light);
    color: #0f172a;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, .h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 24px;
}

h2, .h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #1e293b;
    margin-bottom: 20px;
}

h3, .h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

p, .text-base {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

.text-muted {
    color: #64748b;
    font-size: 14px;
}

.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.section-badge, .premium-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

label, .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

input, select, textarea, .form-control {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    color: #0f172a;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

@media (max-width: 1024px) {
    .main-content {
        margin-left: 0;
    }
}

.content-wrapper {
    padding: 32px;
    max-width: 1400px;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: white;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #f8fafc;
}

.btn-dark {
    background-color: #0f172a;
    color: white;
}

.btn-dark:hover {
    opacity: 0.9;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.text-primary { color: var(--primary); }
.text-success { color: var(--shell-green); }
.text-warning { color: #f59e0b; }
.text-danger { color: #ef4444; }
.text-muted { color: #64748b; }

.bg-primary { background-color: var(--primary); }
.bg-success { background-color: var(--shell-green); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background-color: #dcfce7;
    color: #166534;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.table-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #f8fafc;
}

th {
    padding: 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 16px;
    border-top: 1px solid #f1f5f9;
}

tr:hover {
    background-color: #f8fafc;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.kpi-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.kpi-label {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

.kpi-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    margin-top: 8px;
}

.kpi-change.positive { color: var(--shell-green); }
.kpi-change.negative { color: #ef4444; }

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--shell-red);
    border-radius: 2px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

.hidden { display: none; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
}

/* ============================================
   KYC PROTECTION OVERLAY
   ============================================ */
.kyc-lock-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.7); /* Slate 900 with transparency */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.kyc-lock-card {
    background: white;
    border-radius: 32px;
    padding: 48px 32px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    animation: kycCardFloat 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes kycCardFloat {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.kyc-lock-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbce07 0%, #f59e0b 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 40px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.kyc-lock-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.kyc-lock-text {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
}

.kyc-lock-btn {
    width: 100%;
    padding: 16px 32px;
    background: #166534;
    color: white;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.kyc-lock-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(22, 101, 52, 0.3);
}

.kyc-lock-btn span {
    font-size: 20px;
}

/* Hide content when locked */
body.kyc-locked {
    overflow: hidden !important;
}

body.kyc-locked main, 
body.kyc-locked .content-wrapper,
body.kyc-locked .dashboard-container {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}
