/* ============================================================
   ERP CERSABANA - COMPREHENSIVE OFFLINE & STANDALONE STYLING
   ============================================================ */

/* CSS Reset & Base System Fonts */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
}

/* Scrollbar styling */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Dynamic Light Card Styles */
.light-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.light-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08), 0 0 15px rgba(79, 70, 229, 0.06);
}

/* Layout & Flex Utilities */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[120px\] { max-width: 120px; }
.max-w-\[220px\] { max-width: 220px; }
.max-w-\[130px\] { max-width: 130px; }
.max-w-none { max-width: none; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Grid System */
.grid { display: grid; }
.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)); }

/* Responsive Adjustments */
@media (min-width: 640px) {
    .sm\:flex { display: flex; }
    .sm\:inline { display: inline; }
    .sm\:block { display: block; }
    .sm\:hidden { display: none; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:h-8 { height: 2rem; }
    .sm\:w-8 { width: 2rem; }
    .sm\:h-9 { height: 2.25rem; }
    .sm\:w-9 { width: 2.25rem; }
    .sm\:h-10 { height: 2.5rem; }
    .sm\:w-10 { width: 2.5rem; }
    .sm\:h-12 { height: 3rem; }
    .sm\:h-20 { height: 5rem; }
    .sm\:px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
    .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
    .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .sm\:py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .sm\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .sm\:p-1\.5 { padding: 0.375rem; }
    .sm\:pr-3\.5 { padding-right: 0.875rem; }
    .sm\:p-6 { padding: 1.5rem; }
    .sm\:gap-3 { gap: 0.75rem; }
    .sm\:gap-4 { gap: 1rem; }
    .sm\:gap-6 { gap: 1.5rem; }
    .sm\:text-xs { font-size: 0.75rem; line-height: 1rem; }
    .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:rounded-xl { border-radius: 0.75rem; }
    .sm\:rounded-2xl { border-radius: 1rem; }
    .sm\:max-w-\[220px\] { max-width: 220px; }
    .sm\:max-w-none { max-width: none; }
    .sm\:shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
}

@media (min-width: 768px) {
    .md\:inline { display: inline; }
    .md\:p-8 { padding: 2rem; }
}

@media (min-width: 1024px) {
    .lg\:flex-row { flex-direction: row; }
    .lg\:items-center { align-items: center; }
    .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .lg\:w-96 { width: 24rem; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Position & Overflow */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-3\.5 { left: 0.875rem; }
.top-3\.5 { top: 0.875rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Sizing */
.h-1\.5 { height: 0.375rem; }
.h-3\.5 { height: 0.875rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.w-3\.5 { width: 0.875rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.object-contain { object-fit: contain; }

/* Spacing */
.p-1 { padding: 0.25rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3\.5 { padding: 0.875rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-2 { padding-right: 0.5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pt-5 { padding-top: 1.25rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }
.mr-1 { margin-right: 0.25rem; }
.mr-1\.5 { margin-right: 0.375rem; }

/* Typography */
.text-\[9px\] { font-size: 9px; line-height: 12px; }
.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-\[11px\] { font-size: 11px; line-height: 15px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Backgrounds & Colors */
.bg-white { background-color: #ffffff; }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-950 { background-color: #020617; }
.bg-slate-950\/80 { background-color: rgba(2, 6, 23, 0.8); }

.bg-indigo-50 { background-color: #eef2ff; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-700 { background-color: #4338ca; }
.bg-indigo-900 { background-color: #312e81; }

.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-600 { background-color: #059669; }

.bg-sky-50 { background-color: #f0f9ff; }
.bg-sky-600 { background-color: #0284c7; }

.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-500 { background-color: #f97316; }
.bg-orange-600 { background-color: #ea580c; }

.bg-cyan-50 { background-color: #ecfeff; }
.bg-cyan-600 { background-color: #0891b2; }

.bg-red-50 { background-color: #fef2f2; }
.bg-red-600 { background-color: #dc2626; }

.bg-violet-50 { background-color: #f5f3ff; }
.bg-violet-600 { background-color: #7c3aed; }

.bg-pink-50 { background-color: #fdf2f8; }
.bg-pink-600 { background-color: #db2777; }

.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-400\/10 { background-color: rgba(251, 191, 36, 0.1); }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.2); }
.bg-amber-500 { background-color: #f59e0b; }
.bg-amber-600 { background-color: #d97706; }

.bg-rose-50 { background-color: #fff1f2; }
.bg-rose-600 { background-color: #e11d48; }

/* Text colors */
.text-white { color: #ffffff; }
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-200 { color: #e2e8f0; }

.text-indigo-600 { color: #4f46e5; }
.text-indigo-700 { color: #4338ca; }
.text-indigo-800 { color: #3730a3; }
.text-indigo-200 { color: #c7d2fe; }

.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: #047857; }
.text-emerald-800 { color: #065f46; }

.text-sky-600 { color: #0284c7; }
.text-sky-700 { color: #0369a1; }
.text-sky-800 { color: #075985; }

.text-orange-600 { color: #ea580c; }
.text-orange-700 { color: #c2410c; }
.text-orange-800 { color: #9a3412; }

.text-cyan-600 { color: #0891b2; }
.text-cyan-700 { color: #0e7490; }
.text-cyan-800 { color: #155e75; }

.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }

.text-violet-600 { color: #7c3aed; }
.text-violet-700 { color: #6d28d9; }
.text-violet-800 { color: #5b21b6; }

.text-pink-600 { color: #db2777; }
.text-pink-700 { color: #be185d; }
.text-pink-800 { color: #9d174d; }

.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }

.text-rose-600 { color: #e11d48; }

.placeholder-slate-400::placeholder { color: #94a3b8; }

/* Borders & Rounded Radii */
.border { border: 1px solid #e2e8f0; }
.border-0 { border: none; }
.border-b { border-bottom: 1px solid #e2e8f0; }
.border-t { border-top: 1px solid #e2e8f0; }

.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-200\/60 { border-color: rgba(226, 232, 240, 0.6); }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, 0.8); }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }

.border-indigo-100 { border-color: #e0e7ff; }
.border-indigo-200 { border-color: #c7d2fe; }
.border-indigo-700 { border-color: #4338ca; }
.border-emerald-100 { border-color: #d1fae5; }
.border-sky-100 { border-color: #e0f2fe; }
.border-orange-100 { border-color: #ffedd5; }
.border-cyan-100 { border-color: #cffafe; }
.border-red-100 { border-color: #fee2e2; }
.border-violet-100 { border-color: #ede9fe; }
.border-pink-100 { border-color: #fce7f3; }
.border-amber-100 { border-color: #fef3c7; }
.border-amber-200 { border-color: #fde68a; }
.border-amber-400\/30 { border-color: rgba(251, 191, 36, 0.3); }
.border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4); }
.border-rose-200 { border-color: #fecdd3; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Gradients */
.bg-gradient-to-r { background-size: 100% 100%; }
.bg-gradient-to-r.from-indigo-500.to-purple-600 { background: linear-gradient(to right, #6366f1, #9333ea); }
.bg-gradient-to-r.from-emerald-500.to-teal-600 { background: linear-gradient(to right, #10b981, #0d9488); }
.bg-gradient-to-r.from-emerald-500.via-green-600.to-teal-700 { background: linear-gradient(to right, #10b981, #16a34a, #0f766e); }
.bg-gradient-to-r.from-sky-500.to-blue-600 { background: linear-gradient(to right, #0ea5e9, #2563eb); }
.bg-gradient-to-r.from-indigo-600.via-purple-600.to-indigo-800 { background: linear-gradient(to right, #4f46e5, #9333ea, #3730a3); }
.bg-gradient-to-r.from-orange-500.to-amber-600 { background: linear-gradient(to right, #f97316, #d97706); }
.bg-gradient-to-r.from-cyan-500.to-teal-600 { background: linear-gradient(to right, #06b6d4, #0d9488); }
.bg-gradient-to-r.from-red-500.to-rose-600 { background: linear-gradient(to right, #ef4444, #e11d48); }
.bg-gradient-to-r.from-violet-500.to-purple-600 { background: linear-gradient(to right, #8b5cf6, #9333ea); }
.bg-gradient-to-r.from-pink-500.to-rose-600 { background: linear-gradient(to right, #ec4899, #e11d48); }
.bg-gradient-to-r.from-amber-500.to-orange-600 { background: linear-gradient(to right, #f59e0b, #ea580c); }
.bg-gradient-to-r.from-amber-400.to-amber-600 { background: linear-gradient(to right, #fbbf24, #d97706); }
.bg-gradient-to-r.from-amber-400.via-indigo-500.to-emerald-400 { background: linear-gradient(to right, #fbbf24, #6366f1, #34d399); }
.bg-gradient-to-br.from-slate-900.via-slate-950.to-indigo-950 { background: linear-gradient(to bottom right, #0f172a, #020617, #1e1b4b); }
.bg-gradient-to-r.from-slate-400.to-slate-200 { background: linear-gradient(to right, #94a3b8, #e2e8f0); }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05); }

/* Transitions & Backdrop Effects */
.transition { transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Hover States */
.hover\:bg-indigo-600:hover { background-color: #4f46e5 !important; }
.hover\:bg-emerald-600:hover { background-color: #059669 !important; }
.hover\:bg-sky-600:hover { background-color: #0284c7 !important; }
.hover\:bg-rose-600:hover { background-color: #e11d48 !important; }
.hover\:bg-orange-600:hover { background-color: #ea580c !important; }
.hover\:bg-amber-600:hover { background-color: #d97706 !important; }
.hover\:bg-amber-500:hover { background-color: #f59e0b !important; }
.hover\:bg-violet-600:hover { background-color: #7c3aed !important; }
.hover\:bg-pink-600:hover { background-color: #db2777 !important; }
.hover\:bg-cyan-600:hover { background-color: #0891b2 !important; }
.hover\:bg-amber-400:hover { background-color: #fbbf24 !important; }
.hover\:bg-slate-200:hover { background-color: #e2e8f0 !important; }
.hover\:bg-slate-700:hover { background-color: #334155 !important; }
.hover\:bg-slate-800:hover { background-color: #1e293b !important; }
.hover\:bg-white:hover { background-color: #ffffff !important; }

.hover\:text-white:hover { color: #ffffff !important; }
.hover\:text-slate-950:hover { color: #020617 !important; }
.hover\:text-indigo-600:hover { color: #4f46e5 !important; }
.hover\:text-indigo-800:hover { color: #3730a3 !important; }
.hover\:text-emerald-600:hover { color: #059669 !important; }
.hover\:text-emerald-800:hover { color: #065f46 !important; }
.hover\:text-sky-600:hover { color: #0284c7 !important; }
.hover\:text-sky-800:hover { color: #075985 !important; }
.hover\:text-orange-600:hover { color: #ea580c !important; }
.hover\:text-orange-800:hover { color: #9a3412 !important; }
.hover\:text-amber-600:hover { color: #d97706 !important; }
.hover\:text-amber-800:hover { color: #92400e !important; }
.hover\:text-amber-300:hover { color: #fcd34d !important; }
.hover\:text-violet-600:hover { color: #7c3aed !important; }
.hover\:text-violet-800:hover { color: #5b21b6 !important; }
.hover\:text-pink-600:hover { color: #db2777 !important; }
.hover\:text-pink-800:hover { color: #9d174d !important; }
.hover\:text-cyan-600:hover { color: #0891b2 !important; }
.hover\:text-cyan-800:hover { color: #155e75 !important; }
.hover\:text-red-600:hover { color: #dc2626 !important; }
.hover\:text-red-800:hover { color: #991b1b !important; }

.group:hover .group-hover\:bg-indigo-600 { background-color: #4f46e5 !important; }
.group:hover .group-hover\:text-white { color: #ffffff !important; }
.group:hover .group-hover\:bg-emerald-600 { background-color: #059669 !important; }
.group:hover .group-hover\:bg-sky-600 { background-color: #0284c7 !important; }
.group:hover .group-hover\:bg-orange-500 { background-color: #f97316 !important; }
.group:hover .group-hover\:bg-cyan-600 { background-color: #0891b2 !important; }
.group:hover .group-hover\:bg-red-600 { background-color: #dc2626 !important; }
.group:hover .group-hover\:bg-violet-600 { background-color: #7c3aed !important; }
.group:hover .group-hover\:bg-pink-600 { background-color: #db2777 !important; }
.group:hover .group-hover\:bg-amber-600 { background-color: #d97706 !important; }
.group:hover .group-hover\:bg-amber-500 { background-color: #f59e0b !important; }
.group:hover .group-hover\:bg-slate-700 { background-color: #334155 !important; }

.group:hover .group-hover\:text-indigo-600 { color: #4f46e5 !important; }
.group:hover .group-hover\:text-emerald-600 { color: #059669 !important; }
.group:hover .group-hover\:text-sky-600 { color: #0284c7 !important; }
.group:hover .group-hover\:text-orange-600 { color: #ea580c !important; }
.group:hover .group-hover\:text-cyan-600 { color: #0891b2 !important; }
.group:hover .group-hover\:text-red-600 { color: #dc2626 !important; }
.group:hover .group-hover\:text-violet-600 { color: #7c3aed !important; }
.group:hover .group-hover\:text-pink-600 { color: #db2777 !important; }
.group:hover .group-hover\:text-amber-600 { color: #d97706 !important; }
.group:hover .group-hover\:text-amber-300 { color: #fcd34d !important; }
.group:hover .group-hover\:text-slate-300 { color: #cbd5e1 !important; }

.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* Controls & Form Inputs */
input[type="text"], input[type="search"], select {
    outline: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

/* ============================================================
   LIGHT GLASSMORPISM (TEMA CLARO - AERO LIGHT GLASS)
   ============================================================ */

/* Light Aero Glass Sidebar */
.light-glass-sidebar, aside.sidebar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-right: 1px solid #e2e8f0 !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.03), inset -1px 0 0 rgba(255, 255, 255, 0.8) !important;
}

/* Light Glass Brand & Header inside sidebar */
.light-glass-sidebar .sidebar-brand, aside.sidebar .sidebar-brand {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Light Glass Nav Links in Sidebar */
aside.sidebar .nav-item, .light-glass-sidebar .nav-item {
    color: #475569 !important;
    border-radius: 12px !important;
    margin: 3px 12px !important;
    padding: 10px 14px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

aside.sidebar .nav-item:hover:not(.active), .light-glass-sidebar .nav-item:hover:not(.active) {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    transform: translateX(3px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

aside.sidebar .nav-item.active, .light-glass-sidebar .nav-item.active {
    background: #ecfdf5 !important;
    color: #047857 !important;
    font-weight: 800 !important;
    border-left: 3.5px solid #10b981 !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12) !important;
}

/* Light Glass Sidebar Footer / Bottom Panel */
aside.sidebar .p-4.border-t, .light-glass-footer {
    background: rgba(248, 250, 252, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Light Theme Button "Volver al Hub ERP" */
aside.sidebar a[href*="hub.php"], .light-glass-btn {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

aside.sidebar a[href*="hub.php"]:hover, .light-glass-btn:hover {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4338ca !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25) !important;
    transform: translateY(-1px) !important;
}

/* ============================================================
   LOGIN & MULTI-TENANT FLOATING GLASS CARD STYLING
   ============================================================ */

/* Floating White Glass Login Card */
.login-floating-card, div.bg-white\/95 {
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 25px 60px -15px rgba(2, 6, 23, 0.5), 0 0 30px rgba(79, 70, 229, 0.15) !important;
    border-radius: 1.5rem !important;
    color: #0f172a !important;
}

.login-floating-card label {
    color: #334155 !important;
}

.login-floating-card input[type="email"],
.login-floating-card input[type="password"],
.login-floating-card select {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    border-radius: 1rem !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}

.login-floating-card input[type="email"]:focus,
.login-floating-card input[type="password"]:focus,
.login-floating-card select:focus {
    background-color: #ffffff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15) !important;
}

/* Grid & Layout Utilities for Login Hub */
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.65) !important; }
.border-slate-700\/60 { border-color: rgba(51, 65, 85, 0.6) !important; }
.border-slate-800\/80 { border-color: rgba(30, 41, 59, 0.8) !important; }
.bg-indigo-500\/20 { background-color: rgba(79, 70, 229, 0.20) !important; }
.bg-indigo-500\/25 { background-color: rgba(79, 70, 229, 0.25) !important; }
.bg-violet-600\/20 { background-color: rgba(124, 58, 237, 0.20) !important; }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.20) !important; }
.bg-sky-500\/20 { background-color: rgba(14, 165, 233, 0.20) !important; }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.20) !important; }
.bg-rose-500\/20 { background-color: rgba(225, 29, 72, 0.20) !important; }
.bg-pink-500\/20 { background-color: rgba(219, 39, 119, 0.20) !important; }

.border-indigo-500\/30 { border-color: rgba(79, 70, 229, 0.3) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important; }
.shadow-slate-950\/50 { box-shadow: 0 25px 50px -12px rgba(2, 6, 23, 0.5) !important; }

.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-8 > * + * { margin-top: 2rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-h-\[92vh\] { max-height: 92vh !important; }
.pr-6 { padding-right: 1.5rem !important; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.pointer-events-none { pointer-events: none; }
.blur-3xl { filter: blur(64px); }
.-top-32 { top: -8rem; }
.-right-32 { right: -8rem; }
.-bottom-32 { bottom: -8rem; }
.-left-32 { left: -8rem; }
.w-96 { width: 24rem; }
.h-96 { height: 24rem; }

@media (min-width: 1024px) {
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
    .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
    .lg\:col-span-6 { grid-column: span 6 / span 6 !important; }
    .lg\:flex { display: flex !important; }
    .lg\:hidden { display: none !important; }
    .lg\:overflow-hidden { overflow: hidden !important; }
}

@media (min-width: 1280px) {
    .xl\:col-span-5 { grid-column: span 5 / span 5 !important; }
    .xl\:col-span-7 { grid-column: span 7 / span 7 !important; }
}

