/* Custom Styles for Hisabati Accounting App */
body {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Allow text selection inside inputs and data fields */
input, textarea, select, .selectable-text {
  user-select: text;
}

/* Nav Tab States */
.nav-tab.active {
  color: #f59e0b;
  border-color: #f59e0b;
  background-color: rgba(245, 158, 11, 0.08);
}
.nav-tab:not(.active) {
  color: #94a3b8;
  border-color: transparent;
}
.nav-tab:not(.active):hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav-btn.active {
  color: #d97706;
}

/* Day attendance cell buttons */
.day-cell-btn {
  transition: all 0.15s ease-in-out;
  touch-action: manipulation;
}
.day-cell-btn:active {
  transform: scale(0.92);
}

/* Full day */
.status-full {
  background-color: #10b981;
  color: #ffffff;
  border-color: #059669;
}
/* Half day */
.status-half {
  background-color: #f59e0b;
  color: #ffffff;
  border-color: #d97706;
}
/* Absent */
.status-absent {
  background-color: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
}

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

/* Print Optimization */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding-bottom: 0 !important;
  }
  header, nav, #btnBackup, #btnPrintReport, .modal-backdrop, .no-print {
    display: none !important;
  }
  .printable-area {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .tab-content {
    display: none !important;
  }
  #tab-reports {
    display: block !important;
  }
}