@charset "UTF-8";

/* Font smoothing & Global styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Lao', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background-color: #f8fafc;
}

/* 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;
}

/* Inputs and interactive focus */
input, select, textarea {
  font-family: inherit;
  transition: all 0.2s ease-in-out;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Custom step indicator */
.step-circle {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge tags */
.badge-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
}

/* Print Styles */
@media print {
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
  }
  
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block !important;
  }

  .print-card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  table {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  th, td {
    border: 1px solid #333 !important;
    padding: 6px 8px !important;
    font-size: 10pt !important;
  }

  th {
    background-color: #f0f0f0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    size: A4 portrait;
    margin: 1.5cm;
  }
}
