@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ===== PT. BUANA MEGAH DESIGN SYSTEM ===== */
:root {
  --bm-green-900: #0d2b18;
  --bm-green-700: #1a4d2e;
  --bm-green-500: #2d7a4a;
  --bm-green-100: #eef7f0;
  --bm-gold: #c8a84b;
  --bm-gold-light: #e2c96d;
  --bm-ink: #111111;
  --bm-ink-soft: #374151;
  --bm-surface: #f4f6fb;
  --bm-white: #ffffff;
  --bm-gray-50: #f9fafb;
  --bm-gray-100: #f3f4f6;
  --bm-gray-200: #e5e7eb;
  --bm-gray-300: #d1d5db;
  --bm-gray-400: #9ca3af;
  --bm-gray-500: #6b7280;
  --bm-gray-600: #4b5563;
  --bm-gray-700: #374151;
  --bm-gray-800: #1f2937;
  --bm-gray-900: #111827;
  --bm-red-50: #fef2f2;
  --bm-red-500: #ef4444;
  --bm-red-600: #dc2626;
  --bm-red-700: #b91c1c;
  --bm-yellow-50: #fefce8;
  --bm-yellow-600: #ca8a04;
  --bm-blue-50: #eff6ff;
  --bm-blue-600: #2563eb;
  --bm-blue-700: #1d4ed8;
  --bm-radius-xs: 4px;
  --bm-radius-sm: 8px;
  --bm-radius-md: 12px;
  --bm-radius-lg: 9999px;
  --bm-shadow-1: 0 1px 2px rgba(0,0,0,0.05);
  --bm-shadow-2: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --bm-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--bm-gray-200); }
::before, ::after { --tw-content: ''; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: var(--bm-font); -webkit-tap-highlight-color: transparent; }
body { margin: 0; line-height: inherit; font-family: var(--bm-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1,h2,h3,h4,h5,h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; } sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; background-color: transparent; background-image: none; }
progress { vertical-align: baseline; }
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; } legend { padding: 0; }
menu, ol, ul { list-style: none; margin: 0; padding: 0; }
dialog { padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: var(--bm-gray-400); }
[role="button"], button { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none; }

/* ===== CUSTOM COMPONENTS (Design System) ===== */

/* Sidebar */
.sidebar-link {
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: var(--bm-radius-sm); padding: 0.625rem 1rem;
  font-size: 0.875rem; line-height: 1.25rem;
  color: var(--bm-gray-400);
  transition: all 0.2s ease;
}
.sidebar-link:hover {
  background: rgba(255,255,255,0.05); color: #fff;
}
.sidebar-link.active {
  background: var(--bm-green-700); font-weight: 500;
  color: #fff; box-shadow: var(--bm-shadow-1);
}

/* Card */
.card {
  border-radius: var(--bm-radius-md);
  border: 1px solid var(--bm-gray-100);
  background: var(--bm-white);
  box-shadow: var(--bm-shadow-1);
}

/* Hero */
.hero-section {
  background: linear-gradient(180deg, var(--bm-green-100) 0%, var(--bm-white) 100%);
}

/* Job Card */
.job-card {
  border-radius: var(--bm-radius-md);
  border: 1px solid var(--bm-gray-100);
  background: var(--bm-white);
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-2);
  border-color: var(--bm-green-500);
}

/* Toggle Switch */
.toggle-switch {
  position: relative; display: inline-flex; height: 1.75rem; width: 3rem;
  cursor: pointer; align-items: center; border-radius: 9999px;
  transition: background-color 0.2s ease;
}
.toggle-switch .toggle-dot {
  display: inline-block; height: 1.25rem; width: 1.25rem;
  border-radius: 9999px; background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.toggle-switch.active { background: var(--bm-green-500); }
.toggle-switch.active .toggle-dot { transform: translateX(1.5rem); }
.toggle-switch.inactive { background: var(--bm-gray-300); }
.toggle-switch.inactive .toggle-dot { transform: translateX(0.25rem); }
.toggle-switch.rejected-active { background: #ff4d4f; }
.toggle-switch.rejected-active .toggle-dot { transform: translateX(1.5rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--bm-radius-sm); font-size: 0.875rem; line-height: 1.25rem;
  font-weight: 600; transition: all 0.2s ease; cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--bm-green-700); color: #fff;
  box-shadow: var(--bm-shadow-1);
}
.btn-primary:hover {
  background: var(--bm-green-900);
  box-shadow: var(--bm-shadow-2);
}
.btn-ghost { color: var(--bm-gray-600); }
.btn-ghost:hover { background: var(--bm-gray-100); }
.btn-outline {
  border: 1px solid var(--bm-gray-200); background: var(--bm-white);
  color: var(--bm-gray-700);
}
.btn-outline:hover {
  border-color: var(--bm-green-500); color: var(--bm-green-500);
}
.btn-gold {
  background: var(--bm-gold); color: #fff;
}
.btn-gold:hover {
  background: #b8962e;
}
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; line-height: 1rem; }
.btn-md { padding: 0.625rem 1rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; line-height: 1.5rem; }

/* Input */
.input {
  width: 100%; border-radius: var(--bm-radius-sm);
  border: 1px solid var(--bm-gray-200);
  background: var(--bm-white);
  padding: 0.625rem 1rem; font-size: 0.875rem; line-height: 1.25rem;
  outline: none; transition: all 0.15s ease;
}
.input:focus {
  border-color: var(--bm-green-500);
  box-shadow: 0 0 0 3px rgba(45,122,74,0.1);
}

/* Badge */
.badge {
  display: inline-flex; align-items: center;
  border-radius: var(--bm-radius-lg);
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem; line-height: 1rem; font-weight: 500;
}
.badge-success, .badge-green {
  background: var(--bm-green-100); color: var(--bm-green-700);
}
.badge-gray {
  background: var(--bm-gray-100); color: var(--bm-gray-600);
}
.badge-gold {
  background: #fef3c7; color: #92400e;
}
.badge-dark {
  background: var(--bm-ink); color: #fff;
}

/* PDF Viewer */
.pdf-viewer-container {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--bm-radius-md);
  border: 1px solid var(--bm-gray-200);
  height: 70vh; min-height: 400px;
}
.pdf-viewer-container iframe { height: 100%; width: 100%; border: none; }

/* ===== LAYOUT UTILITIES ===== */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; } .bottom-0 { bottom: 0; }
.left-0 { left: 0; } .right-0 { right: 0; }
.top-20 { top: 5rem; } .bottom-20 { bottom: 5rem; }
.left-20 { left: 5rem; } .right-20 { right: 5rem; }
.left-4 { left: 1rem; }
.top-1\/2 { top: 50%; }
.z-10 { z-index: 10; } .z-30 { z-index: 30; }
.z-40 { z-index: 40; } .z-50 { z-index: 50; }
.mx-auto { margin-left: auto; margin-right: auto; }
.-ml-2 { margin-left: -0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.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; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-0\.5 { margin-left: 0.125rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-4 { margin-left: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-1\.5 { margin-right: 0.375rem; }
.mr-2 { margin-right: 0.5rem; }
.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; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.table { display: table; }
.grid { display: grid; }
.hidden { display: none; }

/* Sizing */
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.min-h-screen { min-height: 100vh; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-48 { width: 12rem; }
.w-60 { width: 15rem; }
.w-64 { width: 16rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }

/* Flex utilities */
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-0\.5 { gap: 0.125rem; }
.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-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-1 { row-gap: 0.25rem; }

/* Space utilities */
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.125rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.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; }

/* Divide */
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; }
.divide-gray-50 > :not([hidden]) ~ :not([hidden]) { border-color: var(--bm-gray-50); }

/* Overflow & Transform */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-pre-line { white-space: pre-line; }
.-translate-x-full { transform: translateX(-100%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-x-1\/2 { transform: translateX(50%); }
.transform { transform: translate(var(--tw-translate-x,0), var(--tw-translate-y,0)); }

/* Border & Radius */
.rounded { border-radius: var(--bm-radius-xs); }
.rounded-lg { border-radius: var(--bm-radius-sm); }
.rounded-xl { border-radius: var(--bm-radius-md); }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-t { border-top-width: 1px; }
.border-dashed { border-style: dashed; }
.border-gray-50 { border-color: var(--bm-gray-50); }
.border-gray-100 { border-color: var(--bm-gray-100); }
.border-gray-200 { border-color: var(--bm-gray-200); }
.border-gray-300 { border-color: var(--bm-gray-300); }
.border-gray-800 { border-color: var(--bm-gray-800); }
.border-green-100 { border-color: #dcfce7; }
.border-green-200 { border-color: #bbf7d0; }
.border-blue-200 { border-color: #bfdbfe; }
.border-red-200 { border-color: #fecaca; }
.border-yellow-300 { border-color: #fde047; }
.border-primary { border-color: var(--bm-green-500); }

/* Background Colors — mapped to Design System */
.bg-white { background-color: var(--bm-white); }
.bg-gray-50 { background-color: var(--bm-surface); }
.bg-gray-100 { background-color: var(--bm-gray-100); }
.bg-gray-200 { background-color: var(--bm-gray-200); }
.bg-gray-900 { background-color: var(--bm-green-900); }
.bg-green-50 { background-color: var(--bm-green-100); }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-500 { background-color: var(--bm-green-500); }
.bg-green-600 { background-color: var(--bm-green-700); }
.bg-primary { background-color: var(--bm-green-700); }
.bg-primary-50 { background-color: var(--bm-green-100); }
.bg-primary\/10 { background-color: rgba(26,77,46,0.1); }
.bg-primary\/20 { background-color: rgba(26,77,46,0.2); }
.bg-red-50 { background-color: var(--bm-red-50); }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: var(--bm-red-500); }
.bg-blue-50 { background-color: var(--bm-blue-50); }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-500 { background-color: var(--bm-blue-600); }
.bg-blue-600 { background-color: var(--bm-blue-600); }
.bg-yellow-50 { background-color: var(--bm-yellow-50); }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-indigo-50 { background-color: #eef2ff; }
.bg-indigo-100 { background-color: #e0e7ff; }
.bg-indigo-500 { background-color: #6366f1; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-purple-500 { background-color: #a855f7; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-pink-100 { background-color: #fce7f3; }
.bg-rose-100 { background-color: #ffe4e6; }
.bg-cyan-100 { background-color: #cffafe; }
.bg-emerald-100 { background-color: #d1fae5; }

/* Object Fit */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* Padding */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.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-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.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-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.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; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pl-11 { padding-left: 2.75rem; }
.pr-4 { padding-right: 1rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }

/* Text Alignment & Font */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-sans { font-family: var(--bm-font); }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.tracking-wider { letter-spacing: 0.05em; }
.list-inside { list-style-position: inside; }
.list-disc { list-style-type: disc; }
.appearance-none { appearance: none; }

/* Text Colors — mapped to Design System */
.text-white { color: #fff; }
.text-gray-300 { color: var(--bm-gray-300); }
.text-gray-400 { color: var(--bm-gray-400); }
.text-gray-500 { color: var(--bm-gray-500); }
.text-gray-600 { color: var(--bm-gray-600); }
.text-gray-700 { color: var(--bm-gray-700); }
.text-gray-800 { color: var(--bm-gray-800); }
.text-gray-900 { color: var(--bm-ink); }
.text-green-400 { color: var(--bm-green-500); }
.text-green-600 { color: var(--bm-green-500); }
.text-green-700 { color: var(--bm-green-700); }
.text-green-800 { color: var(--bm-green-900); }
.text-primary { color: var(--bm-green-700); }
.text-red-400 { color: #f87171; }
.text-red-500 { color: var(--bm-red-500); }
.text-red-600 { color: var(--bm-red-600); }
.text-red-700 { color: var(--bm-red-700); }
.text-red-800 { color: #991b1b; }
.text-yellow-600 { color: var(--bm-gold); }
.text-yellow-700 { color: #a16207; }
.text-yellow-800 { color: #854d0e; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: var(--bm-blue-600); }
.text-blue-700 { color: var(--bm-blue-700); }
.text-blue-800 { color: #1e40af; }
.text-purple-600 { color: #9333ea; }
.text-purple-800 { color: #6b21a8; }
.text-indigo-600 { color: #4f46e5; }
.text-indigo-700 { color: #4338ca; }
.text-indigo-800 { color: #3730a3; }
.text-orange-600 { color: #ea580c; }
.text-pink-600 { color: #db2777; }
.text-rose-600 { color: #e11d48; }
.text-amber-600 { color: #d97706; }
.text-cyan-600 { color: #0891b2; }
.text-emerald-600 { color: #059669; }

/* Opacity & Shadow */
.opacity-10 { opacity: 0.1; }
.shadow-sm { box-shadow: var(--bm-shadow-1); }
.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: var(--bm-shadow-2); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-primary\/20 { --tw-shadow-color: rgba(26,77,46,0.2); box-shadow: 0 10px 15px -3px var(--tw-shadow-color); }
.shadow-primary\/30 { --tw-shadow-color: rgba(26,77,46,0.3); box-shadow: 0 10px 15px -3px var(--tw-shadow-color); }

/* Outline & Filter */
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.blur-3xl { filter: blur(64px); }

/* Transitions */
.transition { transition: all 0.15s ease; }
.transition-all { transition: all 0.15s ease; }
.transition-transform { transition: transform 0.15s ease; }
.duration-200 { transition-duration: 0.2s; }
.duration-500 { transition-duration: 0.5s; }

/* 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)); }

/* File Input */
.file\:mr-3::file-selector-button { margin-right: 0.75rem; }
.file\:cursor-pointer::file-selector-button { cursor: pointer; }
.file\:rounded::file-selector-button { border-radius: var(--bm-radius-xs); }
.file\:border-0::file-selector-button { border-width: 0; }
.file\:bg-green-50::file-selector-button { background: var(--bm-green-100); }
.file\:px-3::file-selector-button { padding-left: 0.75rem; padding-right: 0.75rem; }
.file\:py-1\.5::file-selector-button { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.file\:font-medium::file-selector-button { font-weight: 500; }
.file\:text-primary::file-selector-button { color: var(--bm-green-700); }

/* Hover States */
.hover\:bg-gray-50:hover { background: var(--bm-gray-50); }
.hover\:bg-gray-50\/50:hover { background: rgba(249,250,251,0.5); }
.hover\:bg-gray-100:hover { background: var(--bm-gray-100); }
.hover\:bg-green-100:hover { background: #dcfce7; }
.hover\:bg-green-700:hover { background: var(--bm-green-900); }
.hover\:bg-blue-100:hover { background: #dbeafe; }
.hover\:bg-blue-700:hover { background: #1d4ed8; }
.hover\:bg-red-100:hover { background: #fee2e2; }
.hover\:bg-indigo-100:hover { background: #e0e7ff; }
.hover\:bg-indigo-700:hover { background: #4338ca; }
.hover\:bg-primary-dark:hover { background: var(--bm-green-900); }
.hover\:bg-purple-100:hover { background: #f3e8ff; }
.hover\:text-primary:hover { color: var(--bm-green-700); }
.hover\:text-primary-dark:hover { color: var(--bm-green-900); }
.hover\:text-gray-700:hover { color: var(--bm-gray-700); }
.hover\:text-red-600:hover { color: var(--bm-red-600); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-primary:hover { border-color: var(--bm-green-500); }
.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); }

/* Focus States */
.focus\:bg-white:focus { background: var(--bm-white); }
.focus\:ring-2:focus { box-shadow: 0 0 0 3px rgba(45,122,74,0.15); }
.focus\:ring-primary:focus { box-shadow: 0 0 0 3px rgba(45,122,74,0.15); }
.focus\:ring-primary\/20:focus { box-shadow: 0 0 0 3px rgba(45,122,74,0.1); }

/* Group hover */
.group:hover .group-hover\:bg-primary\/10 { background: rgba(26,77,46,0.1); }
.group:hover .group-hover\:text-primary { color: var(--bm-green-700); }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
  .md\:ml-60 { margin-left: 15rem; }
  .md\:mt-0 { margin-top: 0; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:translate-x-0 { transform: translateX(0); }
  .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\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== DESIGN SYSTEM ENHANCEMENTS ===== */

/* Paper texture overlay for special sections */
.bg-texture {
  position: relative;
}
.bg-texture::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  border-radius: inherit;
}

/* Enhanced gradient for public hero using DS colors */
.bg-gradient-to-b { background: linear-gradient(180deg, var(--bm-green-100) 0%, var(--bm-white) 100%); }
.from-green-50 { /* handled by .bg-gradient-to-b */ }
.to-white { /* handled by .bg-gradient-to-b */ }

/* Gold accent link */
a.text-gold { color: var(--bm-gold); }
a.text-gold:hover { color: var(--bm-gold-light); }

/* Navigation bar — updated to DS green */
nav.bg-white {
  background: var(--bm-white);
  border-bottom: 1px solid var(--bm-gray-100);
}

/* Admin sidebar — dark green industrial feel */
aside#sidebar, .sidebar-bg {
  background: var(--bm-green-900) !important;
}
