/* SBS Electronics Custom Stylesheet */

@layer utilities {
  .font-bengali {
    font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
}

body {
  font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

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

/* Navigation Active State */
.nav-btn.active {
  background-color: #1e293b;
  color: #f8fafc;
  font-weight: 600;
  border-left: 4px solid #f59e0b;
}

.mobile-nav-btn.active {
  color: #f59e0b;
  font-weight: 700;
}

/* Modal Transitions */
.modal-backdrop {
  transition: opacity 0.2s ease-in-out;
}

/* Print Specific Rules for Clean Cash Memo */
@media print {
  body * {
    visibility: hidden;
  }
  
  #printableInvoice, #printableInvoice * {
    visibility: visible;
  }

  #printableInvoice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 15px;
    box-shadow: none;
    border: none;
  }

  .no-print {
    display: none !important;
  }
}
