/* Custom Styles for TRANGOC | K-12 EDUCATION */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Merriweather:ital,wght@0,400;0,700;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary-color: #1e40af;
  --active-red: #dc2626;
  --bg-main: #f8fafc;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

/* Red active button style following BNsys */
.btn-grade-active {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  border-color: #b91c1c !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3), 0 2px 4px -2px rgba(220, 38, 38, 0.2);
}

.tab-active {
  color: #dc2626 !important;
  border-bottom: 3px solid #dc2626 !important;
  font-weight: 700 !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism elements */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Card hover animation */
.book-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

/* Typing area */
.essay-textarea {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
}

/* Print simulation for CV 5512 */
.document-preview-page {
  background: white;
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 20mm;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Times New Roman', serif;
}
