/* Custom styles for Nepali Financial System */
body { font-feature-settings: "kern" 1; }

.np-table {
  border-collapse: collapse;
  width: 100%;
}
.np-table th, .np-table td {
  border: 1px solid #d1d5db;
  padding: 6px 10px;
  text-align: center;
  font-size: 0.875rem;
}
.np-table thead th {
  background: #fff7ed;
  font-weight: 700;
}
.np-table tbody tr:nth-child(even) { background: #fafafa; }
.np-table tfoot td { font-weight: 700; background: #ffedd5; }

.sidebar-link.active {
  background: #ea580c;
  color: white;
}
.sidebar-link:hover:not(.active) { background: #ffedd5; }

.bs-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.bs-cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; cursor: pointer; font-size: 0.85rem;
}
.bs-cal-day:hover { background: #ffedd5; }
.bs-cal-day.selected { background: #ea580c; color: white; font-weight: 700; }
.bs-cal-day.today { border: 2px solid #ea580c; }
.bs-cal-day.empty { visibility: hidden; }

@media print {
  .no-print { display: none !important; }
  body { background: white !important; }
  .print-area { box-shadow: none !important; }
}

input[type="number"]::-webkit-inner-spin-button { opacity: 1; }
