@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
    --color-brand: #223989;
    --color-brand-dark: #172760;
    --color-brand-light: #edf0fb;
    --color-accent: #ef7d1e;
    --color-ink: #172033;
    --color-mist: #f4f6fb;
}

@layer base {
    html { color-scheme: light; }
    body { @apply bg-mist text-ink antialiased; }
    [x-cloak] { display: none !important; }
    button, a, input, select, textarea { @apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/70 focus-visible:ring-offset-2; }
}

@layer components {
    .surface { @apply rounded-2xl border border-slate-200/80 bg-white shadow-[0_12px_35px_rgba(34,57,137,0.07)]; }
    .table-shell { @apply overflow-hidden rounded-2xl border border-slate-200/80 bg-white shadow-[0_12px_35px_rgba(34,57,137,0.06)]; }
    .data-table { @apply min-w-full divide-y divide-slate-200; }
    .data-table thead { @apply bg-slate-50/90; }
    .data-table th { @apply px-5 py-3 text-left text-[11px] font-bold uppercase tracking-[0.12em] text-slate-500; }
    .data-table td { @apply px-5 py-4 align-middle text-sm text-slate-700; }
    .data-table tbody { @apply divide-y divide-slate-100; }
    .data-table tbody tr { @apply transition hover:bg-brand-light/40; }
    .field-label { @apply mb-2 block text-xs font-bold uppercase tracking-[0.11em] text-slate-500; }
    .field { @apply w-full rounded-xl border border-slate-200 bg-white px-3.5 py-2.5 text-sm text-ink shadow-sm transition placeholder:text-slate-400 hover:border-slate-300 focus:border-brand focus:ring-brand/20; }
}
