@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-sm);
  border: 1px solid var(--bm-gray-200);
  background: var(--bm-white);
}

/* 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-sm);
  border: 1px solid var(--bm-gray-200);
  background: var(--bm-white);
  padding: 1.5rem;
  transition: all 0.2s ease;
}
.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  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.15s ease; cursor: pointer;
  letter-spacing: -0.01em; border: none; outline: none;
}
.btn-primary {
  background: var(--bm-green-700); color: #fff;
}
.btn-primary:hover {
  background: var(--bm-green-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,77,46,0.2);
}
.btn-ghost { 
  color: var(--bm-gray-600); 
  background: transparent;
}
.btn-ghost:hover { 
  background: var(--bm-gray-100); 
  color: var(--bm-gray-900);
}
.btn-outline {
  border: 1.5px solid var(--bm-gray-300); background: var(--bm-white);
  color: var(--bm-gray-700);
}
.btn-outline:hover {
  border-color: var(--bm-green-500); 
  color: var(--bm-green-700);
  background: var(--bm-green-50);
}
.btn-gold {
  background: var(--bm-gold); color: var(--bm-ink);
}
.btn-gold:hover {
  background: #b8962e;
  transform: translateY(-1px);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; line-height: 1.25rem; }
.btn-md { padding: 0.625rem 1.25rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; line-height: 1.5rem; }

/* Input */
.input {
  width: 100%; border-radius: var(--bm-radius-sm);
  border: 1.5px 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;
  color: var(--bm-gray-900);
}
.input:focus {
  border-color: var(--bm-green-500);
  background: var(--bm-white);
  box-shadow: 0 0 0 3px rgba(45,122,74,0.08);
}
.input::placeholder {
  color: var(--bm-gray-400);
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  border-radius: 6px;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem; line-height: 1rem; font-weight: 600;
  letter-spacing: -0.01em;
}
.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-700);
}
.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-0\.5 { margin-bottom: 0.125rem; }
.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-14 { width: 3.5rem; }
.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-sm); }
.rounded-2xl { border-radius: var(--bm-radius-md); }
.rounded-3xl { border-radius: var(--bm-radius-md); }
.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: #f9fafb; }
.border-gray-100 { border-color: #f3f4f6; }
.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: #fafbfc; }
.bg-gray-100 { background-color: #f4f5f7; }
.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-red-600 { background-color: var(--bm-red-600); }
.bg-red-700 { background-color: var(--bm-red-700); }
.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-2\.5 { padding: 0.625rem; }
.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-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; }
.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: 0 1px 2px rgba(0,0,0,0.04); }
.shadow-md { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.shadow-lg { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.shadow-primary\/20 { box-shadow: 0 4px 12px rgba(26,77,46,0.15); }
.shadow-primary\/30 { box-shadow: 0 4px 12px rgba(26,77,46,0.2); }

/* 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-yellow-50:hover { background: var(--bm-yellow-50); }
.hover\:text-yellow-600:hover { color: var(--bm-gold); }
.hover\:bg-blue-100:hover { background: #dbeafe; }
.hover\:bg-blue-700:hover { background: #1d4ed8; }
.hover\:bg-red-50:hover { background: var(--bm-red-50); }
.hover\:bg-red-100:hover { background: #fee2e2; }
.hover\:bg-red-600:hover { background: var(--bm-red-600); }
.hover\:bg-red-700:hover { background: var(--bm-red-700); }
.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\:bg-primary:hover { background: var(--bm-green-700); }
.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; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xs { font-size: 0.75rem; line-height: 1rem; }
  .md\:w-12 { width: 3rem; }
  .md\:h-12 { height: 3rem; }
  .md\:mb-1 { margin-bottom: 0.25rem; }
  .md\:mb-3 { margin-bottom: 0.75rem; }
  .md\:gap-6 { gap: 1.5rem; }
}

@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\:flex-shrink-0 { flex-shrink: 0; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .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)); }
}

/* Mobile Optimization Enhancements */
@media (max-width: 767px) {
  .btn { font-size: 0.8125rem; padding: 0.625rem 1rem; }
  .btn-sm { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
  .btn-lg { font-size: 0.9375rem; padding: 0.75rem 1rem; }
  
  /* Search button in hero - keep it square and compact */
  section form .btn.btn-lg {
    padding: 0.75rem;
    min-width: auto;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Make cards more compact on mobile */
  .card, .job-card { padding: 1rem; }
  
  /* Better mobile input sizing */
  .input { font-size: 1rem; /* prevents zoom on iOS */ }
  
  /* Stack action buttons vertically on very small screens */
  @media (max-width: 380px) {
    .flex.items-center.gap-2 { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; justify-content: center; }
  }
  
  /* Optimize table display on mobile */
  .overflow-x-auto { -webkit-overflow-scrolling: touch; }
  
  /* Better checkbox sizing for touch */
  input[type="checkbox"] { 
    width: 1.125rem; 
    height: 1.125rem; 
    flex-shrink: 0;
  }
  
  /* Mobile-friendly action buttons */
  .w-9.h-9 { 
    min-width: 2.5rem; 
    min-height: 2.5rem;
  }
}

/* ===== 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;
}

/* ===== ENHANCEMENTS: LOADING STATES, STATUS DOT, A11Y ===== */
/* Aditif saja — tidak meng-override .btn/.card/.input/.badge yang sudah ada.
   Semua warna memakai CSS variable yang sudah didefinisikan di :root atas. */

/* Spinner generik (dipakai lewat class .spinner-ring, beda nama dari
   .animate-spin inline di view-cv.php agar tidak collide) */
@keyframes bm-spin { to { transform: rotate(360deg); } }
.spinner-ring {
  display: inline-block;
  width: 1.5rem; height: 1.5rem;
  border: 3px solid var(--bm-gray-200);
  border-top-color: var(--bm-green-500);
  border-radius: 50%;
  animation: bm-spin 0.8s linear infinite;
}

/* Loading state pada tombol: <button class="btn btn-primary is-loading"> */
.btn.is-loading { pointer-events: none; opacity: 0.75; position: relative; }
.btn.is-loading::after {
  content: '';
  display: inline-block;
  width: 0.875rem; height: 0.875rem;
  margin-left: 0.5rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: bm-spin 0.8s linear infinite;
  vertical-align: middle;
}

/* Skeleton placeholder untuk konten yang masih loading */
@keyframes bm-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skeleton-line {
  height: 0.875rem;
  border-radius: var(--bm-radius-xs);
  background: linear-gradient(90deg, var(--bm-gray-200) 25%, var(--bm-gray-100) 50%, var(--bm-gray-200) 75%);
  background-size: 400px 100%;
  animation: bm-shimmer 1.6s infinite;
}

/* Status dot — indikator status tidak hanya bergantung warna badge,
   tapi juga bentuk titik agar lebih jelas (accessibility) */
.status-dot { display: inline-flex; align-items: center; gap: 0.5rem; }
.status-dot::before {
  content: '';
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.dot-pending::before  { background: var(--bm-gold); }
.status-dot.dot-accepted::before { background: var(--bm-green-500); }
.status-dot.dot-rejected::before { background: var(--bm-red-500); }
.status-dot.dot-interview::before{ background: var(--bm-blue-600); }

/* Accessibility: focus ring yang jelas untuk navigasi keyboard,
   tanpa menghapus outline tanpa pengganti */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--bm-green-500);
  outline-offset: 2px;
}

/* Hormati preferensi pengguna yang sensitif terhadap animasi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE ADDITIONS — MISSING UTILITIES ===== */

/* Missing gap */
.gap-x-3 { column-gap: 0.75rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-3 { row-gap: 0.75rem; }

/* Missing margin */
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-14 { margin-top: 3.5rem; }

/* Missing sizing */
.w-px { width: 1px; }
.h-px { height: 1px; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.max-w-xs { max-width: 20rem; }
.max-w-md { max-width: 28rem; }
.max-h-96 { max-height: 24rem; }
.max-h-screen { max-height: 100vh; }
.min-h-0 { min-height: 0; }

/* Missing flex */
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.self-start { align-self: flex-start; }
.grow { flex-grow: 1; }

/* Missing grid */
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-full { grid-column: 1 / -1; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Missing border */
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }
.border-amber-200 { border-color: #fde68a; }
.border-blue-100 { border-color: #dbeafe; }
.border-purple-100 { border-color: #ede9fe; }
.border-orange-100 { border-color: #ffedd5; }

/* Missing bg */
.bg-amber-50 { background-color: #fffbeb; }
.bg-transparent { background-color: transparent; }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); }
.bg-white\/80 { background-color: rgba(255,255,255,0.8); }

/* Missing hover */
.hover\:bg-amber-100:hover { background-color: #fef3c7; }
.hover\:bg-green-50:hover { background-color: var(--bm-green-100); }
.hover\:text-white:hover { color: #fff; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:border-gray-300:hover { border-color: var(--bm-gray-300); }

/* Missing animation */
@keyframes bm-spin-base { to { transform: rotate(360deg); } }
.animate-spin { animation: bm-spin-base 1s linear infinite; }
@keyframes bm-pulse { 0%,100% { opacity:1; } 50% { opacity:.5; } }
.animate-pulse { animation: bm-pulse 2s cubic-bezier(.4,0,.6,1) infinite; }

/* Missing utilities */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.break-all { word-break: break-all; }
.break-words { overflow-wrap: break-word; word-break: break-word; }
.whitespace-nowrap { white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-y-hidden { overflow-y: hidden; }

/* Missing responsive prefixes */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:w-auto { width: auto; }
  .sm\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:inline-flex { display: inline-flex; }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:flex-col { flex-direction: column; }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .md\:pt-0 { padding-top: 0; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .md\:w-auto { width: auto; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-1\/3 { width: 33.333333%; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:mt-0 { margin-top: 0; }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:space-y-0 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
  .md\:h-16 { height: 4rem; }
  .md\:w-16 { width: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:inline-flex { display: inline-flex; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:w-1\/3 { width: 33.333333%; }
  .lg\:w-auto { width: auto; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:mt-0 { margin-top: 0; }
  .lg\:mb-0 { margin-bottom: 0; }
}

/* ===== GLOBAL MOBILE FIXES ===== */
/* Prevent iOS zoom on input focus */
@media (max-width: 767px) {
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="date"], input[type="time"],
  input[type="password"], input[type="search"],
  select, textarea { font-size: 16px !important; }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

/* ===== SIDEBAR OVERLAY FOR MOBILE/TABLET ===== */
#sidebarOverlay {
  display: none;
  position: fixed; inset: 0; z-index: 35;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}
#sidebarOverlay.active { display: block; }

/* ===== TABLET: sidebar hidden like mobile ===== */
@media (max-width: 1023px) {
  #sidebar { transform: translateX(-100%); }
  #sidebar.sidebar-open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.15); }
  /* Override md:ml-60 and md:translate-x-0 on tablet */
  .md\:ml-60 { margin-left: 0 !important; }
  .md\:translate-x-0 { transform: none !important; }
  /* Show hamburger on tablet too */
  #sidebarToggle { display: flex !important; }
  /* Main content full width */
  .md\:ml-60 { margin-left: 0; }
}
@media (min-width: 1024px) {
  #sidebar { transform: translateX(0) !important; }
  #sidebarToggle { display: none !important; }
  .lg-ml-60 { margin-left: 15rem; }
}

/* ===== ADMIN MAIN CONTENT on desktop ===== */
@media (min-width: 1024px) {
  .admin-main { margin-left: 15rem; }
}

/* ===== MOBILE SPECIFIC LAYOUT FIXES ===== */
@media (max-width: 767px) {
  /* Hero section */
  section.hero-section, section.py-16, section.py-20 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* KPI cards: 2 columns on mobile */
  .grid.grid-cols-2.md\:grid-cols-5,
  .grid.md\:grid-cols-5 { grid-template-columns: repeat(2, 1fr); }

  /* Chart height reduce on mobile */
  canvas#applicantsChart { max-height: 200px !important; }

  /* PDF viewer shorter */
  .pdf-viewer-container { height: 55vh; min-height: 260px; }

  /* Action buttons in pelamar list */
  .action-row { flex-wrap: wrap; gap: 0.375rem; }

  /* view-cv.php grid: single column on mobile */
  .grid.grid-cols-1.lg\:grid-cols-3 { grid-template-columns: 1fr; }

  /* Modal: bottom sheet style */
  #fotoModal > div { border-radius: 1rem 1rem 0 0; width: 100%; max-width: 100%; margin-top: auto; align-self: flex-end; }
  #fotoModal { align-items: flex-end; padding: 0; }

  /* Lamar sukses card padding */
  .max-w-lg .bg-white { padding: 1.5rem; }

  /* Stats grid compact */
  .stats-grid .stats-card { padding: 0.75rem 0.375rem; }
  .stats-value { font-size: 0.9375rem !important; }
  .stats-label { font-size: 0.625rem !important; }
  .stats-icon { width: 1.75rem !important; height: 1.75rem !important; }

  /* Lowongan detail header compact */
  .rounded-2xl.p-5 { padding: 1rem; }

  /* Form labels */
  label { font-size: 0.8125rem; }
}

/* ===== TABLET (768–1023px) SPECIFIC ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  /* 2-column KPI */
  .grid.md\:grid-cols-5 { grid-template-columns: repeat(3, 1fr); }

  /* Chart height */
  canvas#applicantsChart { max-height: 260px !important; }

  /* PDF viewer */
  .pdf-viewer-container { height: 60vh; }

  /* view-cv.php: 2 col on tablet instead of 3 */
  .grid.grid-cols-1.lg\:grid-cols-3 { grid-template-columns: 1fr; }
}
