/*
 * Small, local utility layer used by legacy portal templates.
 * This replaces the Tailwind browser compiler without adding a production
 * JavaScript dependency or shipping an unrestricted framework stylesheet.
 */
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }

.m-0 { margin: 0; }
.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; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.px-1 { padding-inline: 0.25rem; }
.px-2 { padding-inline: 0.5rem; }
.py-0\.2 { padding-block: 0.05rem; }
.py-0\.5 { padding-block: 0.125rem; }
.py-1 { padding-block: 0.25rem; }
.py-6 { padding-block: 1.5rem; }
.pb-4 { padding-bottom: 1rem; }

.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-slate-800 { border-color: #1e293b; }
.border-teal-500\/20 { border-color: rgba(20, 184, 166, 0.2); }
.border-red-500\/20 { border-color: rgba(239, 68, 68, 0.2); }
.border-brand-soft { border-color: rgba(244, 63, 94, 0.12); }
.rounded { border-radius: 0.25rem; }

.bg-slate-950 { background-color: #020617; }
.bg-slate-900\/50 { background-color: rgba(15, 23, 42, 0.5); }
.bg-slate-900\/10 { background-color: rgba(15, 23, 42, 0.1); }
.bg-slate-800 { background-color: #1e293b; }
.bg-blue-500\/20 { background-color: rgba(59, 130, 246, 0.2); }
.bg-gray-500\/20 { background-color: rgba(107, 114, 128, 0.2); }
.bg-teal-500\/20 { background-color: rgba(20, 184, 166, 0.2); }
.bg-teal-500\/5 { background-color: rgba(20, 184, 166, 0.05); }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.2); }
.bg-amber-500\/5 { background-color: rgba(245, 158, 11, 0.05); }
.bg-red-500\/20 { background-color: rgba(239, 68, 68, 0.2); }
.bg-red-500\/5 { background-color: rgba(239, 68, 68, 0.05); }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-xxs { font-size: 0.625rem; line-height: 0.875rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-white { color: #fff; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-blue-400 { color: #60a5fa; }
.text-green-600 { color: #16a34a; }
.text-teal-400 { color: #2dd4bf; }
.text-emerald-400 { color: #34d399; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }
.text-rose-300 { color: #fda4af; }
.text-rose-400 { color: #fb7185; }

.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.overflow-x-auto { overflow-x: auto; }
.cursor-pointer { cursor: pointer; }
.hover\:text-white:hover { color: #fff; }
.hover\:underline:hover { text-decoration-line: underline; }
.hover\:bg-slate-900\/10:hover { background-color: rgba(15, 23, 42, 0.1); }

@media (min-width: 768px) {
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:w-auto { width: auto; }
}
