:root {
    --nexa-navy: #12395b;
    --nexa-blue: #1b6fa6;
    --nexa-sky: #1c92d1;
    --nexa-ice: #edf6fb;
    --nexa-line: #d6e3ed;
    --nexa-ink: #1a3349;
    --nexa-muted: #60758a;
}

body { background: #f3f5f8 !important; color: var(--nexa-ink); }
.min-h-screen { min-height: 100vh; padding-left: 248px; background: #f3f5f8; }

nav.nexa-nav { position: fixed; inset: 0 auto 0 0; z-index: 40; width: 248px; min-height: 100vh; background: #fff; border: 0; border-right: 1px solid #dce4eb; box-shadow: 3px 0 20px rgba(30,52,72,.06); }
nav.nexa-nav > div:first-child { padding: 0 !important; max-width: none; }
nav.nexa-nav > div:first-child > div { display: block; height: auto; }
nav.nexa-nav > div:first-child > div > div:first-child { display: block; }
.nexa-brand { display: flex; align-items: center; height: 96px; padding: 16px 28px; text-decoration: none; border-bottom: 1px solid #e6edf2; }
.nexa-logo { width: 150px; height: 64px; object-fit: contain; object-position: left center; }
.nexa-side-menu { display: block; padding: 18px 12px; }
.nexa-side-caption { display: block; padding: 12px 14px 7px; color: #8292a2; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.nexa-nav-link { display: flex; align-items: center; min-height: 40px; margin: 2px 0; padding: 0 14px; border-radius: 7px; color: #596d80; border: 0; font-size: 14px; font-weight: 650; }
.nexa-nav-link:hover { color: #145f93; background: #eef6fb; }
.nexa-nav-link-active { color: #fff; background: linear-gradient(135deg,#247fb9,#175b90); box-shadow: 0 3px 10px rgba(28,105,157,.18); }
.nexa-user-panel { position: absolute; bottom: 18px; left: 12px; right: 12px; padding: 13px 14px; border: 1px solid #dbe6ee; border-radius: 10px; background: #f8fafc; }
.nexa-user-name { color: #1e3d55; font-size: 13px; font-weight: 800; }
.nexa-user-action { color: #5e7386; font-size: 12px; text-decoration: none; }
.nexa-user-action:hover { color: #17699f; }
.nexa-user-panel button.nexa-user-action { padding: 0; background: transparent !important; color: #5e7386 !important; box-shadow: none !important; font-weight: 500; }

header.bg-white { background: #fff !important; border-bottom: 1px solid #dce5eb; box-shadow: none; }
header h1, header h2, header h3 { color: var(--nexa-navy) !important; letter-spacing: -.02em; }

main { padding-bottom: 42px; }
.bg-white { background: #fff !important; }
.shadow, .shadow-sm { box-shadow: 0 10px 28px rgba(31, 65, 89, .07) !important; }
.rounded-lg, .sm\:rounded-lg { border-radius: 12px !important; }
.border, .border-gray-100, .border-gray-200, .border-blue-100 { border-color: var(--nexa-line) !important; }

input, select, textarea { color: var(--nexa-ink) !important; background: #fbfdff !important; border-color: #c4d6e5 !important; border-radius: 8px !important; }
input:focus, select:focus, textarea:focus { border-color: var(--nexa-sky) !important; box-shadow: 0 0 0 3px rgba(19,121,183,.18) !important; }
::placeholder { color: #718398 !important; opacity: 1; }

button, .bg-slate-800, .bg-blue-700, .bg-blue-800 { background: linear-gradient(135deg, #2783bd, #155b90) !important; border: 0 !important; color: #fff !important; font-weight: 700; box-shadow: 0 4px 10px rgba(31,104,151,.17); }
button:hover, .bg-slate-800:hover, .bg-blue-700:hover, .bg-blue-800:hover { filter: brightness(1.12); }

table thead, table thead.bg-blue-800 { background: #dcebf5 !important; color: #254c69 !important; }
table thead th { font-weight: 700 !important; letter-spacing: .01em; }
table tbody tr:nth-child(even) { background: #f8fbfd; }
table tbody tr:hover, .hover\:bg-blue-50:hover { background: #edf7fc !important; }
table td, table th { border-color: #cfdae4 !important; }

.text-gray-500, .text-slate-500, .text-slate-600 { color: var(--nexa-muted) !important; }
.text-gray-800, .text-slate-900, .text-blue-950 { color: var(--nexa-ink) !important; }
.bg-gray-100, .bg-gray-50 { background: #f4f7fa !important; }
.bg-blue-50 { background: #edf7fc !important; }

.nexa-guest { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: linear-gradient(135deg, #e9f5fb, #f7fafc); }
.nexa-guest-card { width: min(100%, 440px); border-radius: 16px; padding: 32px; background: #fff; box-shadow: 0 24px 60px rgba(31,65,89,.14); border: 1px solid #d7e5ee; }
.nexa-guest-brand { display: flex; justify-content: center; margin-bottom: 26px; }

@media (max-width: 640px) { .min-h-screen { padding-left: 0; } nav.nexa-nav { position: relative; width: 100%; min-height: auto; } .nexa-side-menu, .nexa-user-panel { display: none; } .nexa-brand { height: 72px; padding: 8px 18px; } .nexa-logo { width: 118px; height: 52px; } header .max-w-7xl { padding-top: 18px; padding-bottom: 18px; } }
