/*
 * Static Tailwind Utilities for Safe Capital Admin
 * Generated to replace cdn.tailwindcss.com runtime compiler
 *
 * Custom theme tokens:
 *   --color-primary: #022445
 *   --color-primary-light: #1e3a5c
 *   --color-secondary: #984349
 *   --color-surface: #fbf9f6
 */

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

/* ── Layout ────────────────────────────────────────────── */
.min-h-screen { min-height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }

/* ── Display ───────────────────────────────────────────── */
.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; }

/* ── 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-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.self-end { align-self: flex-end; }

/* ── 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)); }

/* ── Gap ───────────────────────────────────────────────── */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* ── Spacing (padding) ─────────────────────────────────── */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pr-8 { padding-right: 2rem; }

/* ── Spacing (margin) ──────────────────────────────────── */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.ml-1 { margin-left: 0.25rem; }
.mr-1 { margin-right: 0.25rem; }

/* ── Sizing ────────────────────────────────────────────── */
.w-5 { width: 1.25rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-36 { width: 9rem; }
.w-48 { width: 12rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.h-4 { height: 1rem; }
.h-3 { height: 0.75rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-24 { height: 6rem; }
.h-40 { height: 10rem; }
.h-full { height: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-h-96 { max-height: 24rem; }

/* ── Position ──────────────────────────────────────────── */
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.left-3 { left: 0.75rem; }
.bottom-0 { bottom: 0; }
.right-0 { right: 0; }
.left-0 { left: 0; }
.top-1\/2 { top: 50%; }

/* ── Z-index ───────────────────────────────────────────── */
.z-50 { z-index: 50; }

/* ── Typography ────────────────────────────────────────── */
.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; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.leading-relaxed { line-height: 1.625; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.align-middle { vertical-align: middle; }

/* ── Font families (custom theme) ──────────────────────── */
.font-heebo { font-family: 'Heebo', sans-serif; }
.font-inter { font-family: 'Inter', sans-serif; }

/* ── Colors — text ─────────────────────────────────────── */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-primary { color: #022445; }
.text-secondary { color: #984349; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-blue-600 { color: #2563eb; }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }

/* ── Colors — background ───────────────────────────────── */
.bg-white { background-color: #fff; }
.bg-primary { background-color: #022445; }
.bg-surface { background-color: #fbf9f6; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-red-50 { background-color: #fef2f2; }
.bg-green-50\/50 { background-color: rgba(240, 253, 244, 0.5); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-primary\/5 { background-color: rgba(2, 36, 69, 0.05); }
.bg-primary\/3 { background-color: rgba(2, 36, 69, 0.03); }

/* ── Colors — border ───────────────────────────────────── */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t-2 { border-top-width: 2px; }
.border-b-2 { border-bottom-width: 2px; }
.border-x { border-left-width: 1px; border-right-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-green-100 { border-color: #dcfce7; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-primary\/10 { border-color: rgba(2, 36, 69, 0.1); }
.border-dashed { border-style: dashed; }

/* ── Rounded ───────────────────────────────────────────── */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }

/* ── Shadows ───────────────────────────────────────────── */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }

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

/* ── Object ────────────────────────────────────────────── */
.object-cover { object-fit: cover; }

/* ── Opacity ───────────────────────────────────────────── */
.opacity-25 { opacity: 0.25; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }

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

/* ── Transform ─────────────────────────────────────────── */
.-translate-y-1\/2 { transform: translateY(-50%); }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.brightness-0.invert { filter: brightness(0) invert(1); }

/* ── Transitions ───────────────────────────────────────── */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* ── Animations ────────────────────────────────────────── */
@keyframes tw-spin {
  to { transform: rotate(360deg); }
}
.animate-spin { animation: tw-spin 1s linear infinite; }

/* ── Aspect Ratio ──────────────────────────────────────── */
.aspect-video { aspect-ratio: 16 / 9; }

/* ── Space ─────────────────────────────────────────────── */
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

/* ── Checkbox ──────────────────────────────────────────── */
.w-5.h-5.rounded.border-gray-300.text-primary {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  border-color: #d1d5db;
  accent-color: #022445;
}
.focus\:ring-primary:focus {
  box-shadow: 0 0 0 2px #022445;
}

/* ── Hover states ──────────────────────────────────────── */
.hover\:text-white:hover { color: #fff; }
.hover\:text-gray-600:hover { color: #4b5563; }
.hover\:text-primary:hover { color: #022445; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.hover\:underline:hover { text-decoration: underline; }
.group:hover .group-hover\:text-primary { color: #022445; }

/* ── Responsive: md (768px) ────────────────────────────── */
@media (min-width: 768px) {
  .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\:col-span-2 { grid-column: span 2 / span 2; }
}

/* ── Responsive: lg (1024px) ───────────────────────────── */
@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Responsive: xl (1280px) ───────────────────────────── */
@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Additional padding ────────────────────────────────── */
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

/* ── Additional text alignment ─────────────────────────── */
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ── Additional text colors ────────────────────────────── */
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-blue-700 { color: #1d4ed8; }
.text-yellow-700 { color: #a16207; }
.text-purple-600 { color: #9333ea; }

/* ── Additional background colors ──────────────────────── */
.bg-green-50 { background-color: #f0fdf4; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-yellow-50 { background-color: #fefce8; }
.bg-purple-50 { background-color: #faf5ff; }

/* ── Additional sizing ─────────────────────────────────── */
.w-32 { width: 8rem; }

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

/* ── Semantic design tokens (deal wizard) ──────────────── */
.bg-surface-container-low { background-color: #f5f3f0; }
.text-on-surface-variant { color: #43474e; }

/* ── Additional margin ─────────────────────────────────── */
.mr-2 { margin-right: 0.5rem; }
.mb-0 { margin-bottom: 0; }

/* ── Group utility ─────────────────────────────────────── */
.group { position: relative; }
