*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Primary Palette */
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-lighter: #dbeafe;
  
  /* Semantic Colors */
  --success: #16a34a;
  --success-light: #dcfce7;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --info: #0891b2;
  --info-light: #cffafe;
  
  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.10), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-100);
  color: var(--gray-800);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════════════════
   AUTH PAGES (Login / Register)
   ═══════════════════════════════════════════════════════════════ */
.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
  background-image: url('../images/CNX.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.auth-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 30, 70, 0.55);
  z-index: 0;
  pointer-events: none;
}

.auth-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  animation: authSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card h1 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin-bottom: 4px; 
  font-weight: 800;
  letter-spacing: -0.5px;
}

.auth-card h1::before {
  display: none;
}

.auth-card .subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;  
  margin-top: 4px;       
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.auth-card label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.auth-card input,
.auth-card select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
  color: var(--gray-800);
  backdrop-filter: blur(4px);
}

.auth-card input:focus,
.auth-card select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.auth-card input::placeholder { color: var(--gray-400); }

.auth-card .center {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.auth-card a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.auth-card a:hover { text-decoration: underline; }

/* ═══ LOGO — Pinaliit at pinalapit ═══ */
.login-logo {
  text-align: center;
  margin-bottom: 4px;
  margin-top: 0;
}

.concentrix-logo {
  max-width: 160px;
  height: auto;
  display: inline-block;
  transition: transform 0.3s ease;
}

.concentrix-logo:hover { transform: scale(1.05); }

/* ═══════════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════════ */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-info {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.user-info > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.user-info em {
  font-style: normal;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.logout {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 
    0 2px 4px rgba(220, 38, 38, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logout::before { content: '⏻'; font-size: 12px; }

.logout:hover {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 8px rgba(220, 38, 38, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  line-height: 1;
}

.menu-toggle:hover { background: rgba(255, 255, 255, 0.20); }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.layout {
  display: flex;
  min-height: calc(100vh - 64px);
}

.sidebar {
  width: 250px;
  background: #ffffff;
  border-right: 1px solid var(--gray-200);
  padding: 24px 0;
  flex-shrink: 0;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.sidebar a:hover {
  background: var(--primary-lighter);
  color: var(--primary);
  border-left-color: var(--primary);
}

.sidebar a:active { transform: translateX(2px); }

/* ═══ ACTIVE MENU STATE ═══ */
.sidebar a.active {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-left-color: #fbbf24;
  border-left-width: 4px;
  font-weight: 600;
  box-shadow: 
    inset 0 0 12px rgba(255, 255, 255, 0.15),
    0 2px 8px rgba(30, 64, 175, 0.3);
}

.sidebar a.active::before {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 8px #fbbf24;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.6; transform: translateY(-50%) scale(1.3); }
}

.sidebar a.active:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
}

.content {
  flex: 1;
  padding: 32px;
  min-width: 0;
  overflow-x: auto;
  background-image: 
    linear-gradient(rgba(240, 244, 248, 0.70), rgba(240, 244, 248, 0.70)),
    url('/ojt-system/assets/images/CNX.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: calc(100vh - 64px);
}

.content > h2 {
  color: var(--gray-900);
  margin-bottom: 24px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
.card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card h2 {
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--gray-900);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   STAT CARDS
   ═══════════════════════════════════════════════════════════════ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat {
  background: #ffffff;
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary-light);
}

.stat .label {
  color: var(--gray-500);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat .value {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1px;
  line-height: 1.1;
  word-break: break-word;
}

/* ═══════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════ */
form label {
  display: block;
  margin: 16px 0 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--gray-50);
  transition: all var(--transition);
  color: var(--gray-800);
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
}

form input:disabled {
  background: var(--gray-100);
  color: var(--gray-400);
  cursor: not-allowed;
}

form input::placeholder,
form textarea::placeholder { color: var(--gray-400); }

form textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
  font-family: inherit;
  letter-spacing: 0.2px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #ffffff;
  margin-top: 12px;
  box-shadow: 
    0 2px 4px rgba(30, 64, 175, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.primary:hover {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: translateY(-1px);
  box-shadow: 
    0 6px 12px rgba(30, 64, 175, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.primary:active { transform: translateY(0); }

.btn.success {
  background: linear-gradient(180deg, #22c55e 0%, var(--success) 100%);
  color: #ffffff;
  box-shadow: 
    0 2px 4px rgba(22, 163, 74, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.success:hover {
  background: linear-gradient(180deg, var(--success) 0%, #15803d 100%);
  transform: translateY(-1px);
  box-shadow: 
    0 6px 12px rgba(22, 163, 74, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.danger {
  background: linear-gradient(180deg, #ef4444 0%, var(--danger) 100%);
  color: #ffffff;
  box-shadow: 
    0 2px 4px rgba(220, 38, 38, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.danger:hover {
  background: linear-gradient(180deg, var(--danger) 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 
    0 6px 12px rgba(220, 38, 38, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.small {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--gray-400) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
  border-bottom: 2px solid var(--gray-200);
  position: sticky;
  top: 0;
}

tbody tr { transition: background var(--transition-fast); }
tbody tr:nth-child(even) { background: var(--gray-50); }
tbody tr:hover { background: var(--primary-lighter); }
tbody tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════════════════════ */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: alertSlide 0.4s ease;
}

@keyframes alertSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert.error {
  background: var(--danger-light);
  color: #991b1b;
  border-color: var(--danger);
}

.alert.success {
  background: var(--success-light);
  color: #166534;
  border-color: var(--success);
}

.alert.success::before { content: '✓'; font-weight: 900; font-size: 16px; }
.alert.error::before { content: '⚠'; font-weight: 900; font-size: 16px; }

/* ═══════════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge.pending { background: var(--warning-light); color: #92400e; border: 1px solid #fcd34d; }
.badge.approved { background: var(--success-light); color: #166534; border: 1px solid #86efac; }
.badge.rejected { background: var(--danger-light); color: #991b1b; border: 1px solid #fca5a5; }
.badge.submitted { background: var(--primary-lighter); color: var(--primary); border: 1px solid #93c5fd; }

/* ═══════════════════════════════════════════════════════════════
   PROGRESS BAR
   ═══════════════════════════════════════════════════════════════ */
.progress {
  background: var(--gray-200);
  border-radius: 20px;
  height: 26px;
  overflow: hidden;
  margin: 12px 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  position: relative;
}

.progress > div {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  line-height: 26px;
  font-weight: 700;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 12px rgba(59, 130, 246, 0.4);
  position: relative;
}

.progress > div::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ═══════════════════════════════════════════════════════════════
   MISC
   ═══════════════════════════════════════════════════════════════ */
small { color: var(--gray-500); font-size: 12px; }

code {
  background: var(--gray-100);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  color: var(--danger);
  font-weight: 600;
  border: 1px solid var(--gray-200);
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .content { padding: 24px; }
  .sidebar { width: 220px; }
}

@media (max-width: 768px) {
  /* ═══ TOPBAR MOBILE ═══ */
  .menu-toggle { 
    display: block; 
    order: -1;
    margin-right: 8px;
  }
  
  .topbar { 
    padding: 0 12px; 
    height: 60px;
    gap: 8px;
  }
  
  .brand { 
    font-size: 15px;
    flex: 1;
  }
  
  .user-info {
    gap: 8px;
  }
  
  .user-info > span em { display: none; }
  .user-info > span { font-size: 12px; }
  
  .logout {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  /* ═══ SIDEBAR MOBILE ═══ */
  .sidebar {
    position: fixed;
    top: 60px;
    left: -270px;
    height: calc(100vh - 60px);
    z-index: 99;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 260px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }
  
  .sidebar.open { left: 0; }
  
  /* ═══ CONTENT MOBILE ═══ */
  .content {
    padding: 20px 16px;
  }
  
  .content > h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  
  .stat { padding: 16px; }
  .stat .value { font-size: 24px; }
  
  .card {
    padding: 18px;
    border-radius: var(--radius);
  }
  
  /* ═══ AUTH CARD MOBILE — Compact ═══ */
  .auth-card { 
    padding: 24px 20px; 
    max-width: 100%;
  }
  
  .login-logo {
    margin-bottom: 4px;
  }
  
  .concentrix-logo { 
    max-width: 140px; 
  }
  
  .auth-card h1 { 
    font-size: 22px; 
  }
  
  .auth-card .subtitle {
    margin-bottom: 16px;
    margin-top: 2px;
    font-size: 13px;
  }
  
  .auth-card label {
    margin: 10px 0 4px;
    font-size: 12px;
  }
  
  .auth-card input,
  .auth-card select {
    padding: 11px 14px;
    font-size: 14px;
  }
  
  .auth-card .center {
    margin-top: 16px;
    font-size: 12px;
  }
  
  th, td {
    padding: 10px 8px;
    font-size: 12px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .btn.small {
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .content > h2 { font-size: 18px; }
  .stat .value { font-size: 22px; }
  .stat .label { font-size: 10px; }
  
  .auth-card { 
    padding: 20px 16px; 
  }
  
  .auth-card h1 { 
    font-size: 20px; 
  }
  
  .concentrix-logo {
    max-width: 120px;
  }
  
  .auth-card .subtitle {
    margin-bottom: 14px;
    font-size: 12px;
  }
  
  th, td {
    padding: 8px 6px;
    font-size: 11px;
  }
  
  .topbar { padding: 0 12px; }
  
  .brand { font-size: 14px; }
  .user-info > span { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .topbar,
  .sidebar,
  .menu-toggle,
  .logout,
  .btn,
  .no-print {
    display: none !important;
  }
  
  body {
    background: #ffffff;
    padding: 0;
    margin: 0;
    font-size: 12px;
  }
  
  .layout { display: block; }
  .content { padding: 0; background: none !important; }
  
  .card, .stat {
    box-shadow: none;
    border: 1px solid var(--gray-200);
    break-inside: avoid;
  }
  
  table { font-size: 11px; }
  th, td { padding: 6px 8px; }
  
  @page {
    size: A4;
    margin: 1cm;
  }
}