/**
 * Placeholder thickness minimized
 * */
.form-control::placeholder {
  color: rgba(168, 170, 173, 0.75);
  opacity: 1;
}
input[type="number"] {
  -moz-appearance: textfield;
}
.mandatory {
  color: #F00 !important;
}
/**
 * Change Group Button size - (Right Side Buttons)
 * */
 .cc-group-btn-size{
  padding: .375rem .15rem;
 }

 /**
  * Print page minimum width
 */
 .min-width-600{
  min-width: 600px;
 }

 /**
 * Autocomplete css
 * */
 .ui-autocomplete {
  max-height: 160px;
  overflow-y: auto;
  overflow-x: hidden; /* prevent horizontal scrollbar */
}

/**
 * Autocomplete Loader for input box
 * */
.ui-autocomplete-loading {
  background: white url("autocomplete-loader/ui-anim_basic_16x16.gif") right center no-repeat;
}

/**
 * Cursor not allowed
 * */
 .cursor-not-allowed{
  cursor:not-allowed;
 }

 /**
  * Input box border color change to primary class color
  * */
.custom-border-primary {
    border-color: #007bff !important; /* Replace with your desired color */
}

/**
 * Page Loader , Spinner
 * */
 #spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#spinner-content {
    text-align: center;
}
#loading-message {
    color: white;
    margin-top: 15px;
    font-size: 18px;
}

/**
 * Highlight last added table row
 * */
tr.highlight {
  animation: popIn 0.5s ease-out;
}
@keyframes popIn {
  0% {
    transform: scale(1.05);
    background-color: rgb(0 140 255 / 5%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  100% {
    transform: scale(1);
    background-color: rgb(0 140 255 / 5%);
    box-shadow: none;
  }
}

/**
* no code 
* */
.text-transform-none{
text-transform: none;
}

/**
* input group input box, in one group i need to show some of the select or 
* input box 30 %
* */
.cu-flex-30{
  flex: 0 0 30% !important;
}

.cu-w-500-px{
  width: 500px !important;
}

/**
 * POS Page Items Selected Table Resize
 * */
 .resizable-vertical {
  resize: vertical;
  overflow: auto; /* Required for the resize property to work */
  min-height: 270px; 
}

/**
 * No Padding for invoice tables
 * */
 #invoiceItemsTable input.form-control {
    padding-left: 0rem;
    padding-right: 0rem;
    font-size: 18px;
}
/* Import Mangal font (if not already available on the system) */
@import url('https://fonts.googleapis.com/css2?family=Mangal&display=swap');

/* Apply modern styling and Nepali font */
div#ndp-nepali-box {
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  z-index: 10000;
  padding: 7px !important;
  border: none !important;
  background-color: rgba(0, 0, 0, 0.32) !important;
  padding: 0;
  border-radius: 0 !important;
  font-family: 'Mangal', sans-serif; /* Apply Nepali font */
}

.ndp-nepali-box-inner {
  margin: calc(50vh - 171px) auto 0;
  background-color: #fff !important;
  height: 342px;
  width: 303px;
  padding: 15px; /* Reduced padding for a cleaner look */
  border-radius: 8px; /* Slightly rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  border: 1px solid #e0e0e0; /* Light border for a modern look */
}

#ndp-nepali-box .ndp-header {
  background: none;
  border: none;
  position: relative;
  margin: 5px 0 15px;
  font-size: 16px; /* Slightly smaller font size for header */
  color: #444; /* Darker text for better contrast */
  text-align: center; /* Center-align header text */
}

#ndp-nepali-box td.ndp-selected {
  line-height: 16px;
  font-size: 14px;
  background: none !important;
}

#currentMonth #npd-month-select, #currentMonth #npd-year-select {
  appearance: none;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  padding: 0.4rem 1rem; /* Slightly reduced padding */
  height: 2.5rem;
  border-radius: 6px; /* Slightly rounded corners */
  border: 1px solid #ddd; /* Light border */
  background: #ffffff;
  color: #060606;
  margin: 0 5px;
  font-family: 'Mangal', sans-serif; /* Apply Nepali font */
  cursor: pointer; /* Add pointer cursor for better UX */
}

.ndp-selected a, .ndp-current a, .ndp-selected a {
  display: block;
}

#ndp-nepali-box table th, #ndp-nepali-box table td, #ndp-nepali-box table.table-sm td, #ndp-nepali-box table.table-sm th {
  text-align: center;
  border: none !important;
  font-family: 'Mangal', sans-serif; /* Apply Nepali font */
}

div#ndp-nepali-box td.ndp-date, div#ndp-nepali-box td.ndp-selected, div#ndp-nepali-box td.ndp-current {
  width: 14.2857142857%;
  height: 39px;
  background: none !important;
  border-radius: 50%;
  transition: background-color 0.2s ease; /* Smooth hover transition */
}

#ndp-nepali-box td.ndp-date a {
  font-size: 14px !important;
  width: auto !important;
  color: #555 !important; /* Slightly darker text for better readability */
  font-family: 'Mangal', sans-serif; /* Apply Nepali font */
}

#ndp-nepali-box td.ndp-date:hover {
  background-color: #f5f5f5 !important; /* Light hover effect */
}

div#ndp-nepali-box td.ndp-current {
  background-color: #2876BD !important; /* Highlight current date */
  color: #fff !important;
  border-radius: 50%; /* Circular highlight */
}

div#ndp-nepali-box td.ndp-selected {
  background-color: #e0f0ff !important; /* Light blue for selected date */
  border-radius: 50%; /* Circular highlight */
}

div#ndp-nepali-box td.ndp-current a {
  color: #fff !important;
}

div#ndp-nepali-box td.ndp-selected a {
  color: #2876BD;
}

.ndp-next, .ndp-prev {
  background: none !important;
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 18px; /* Slightly smaller font size */
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color: #555 !important; /* Darker color for better visibility */
  border: 1px solid #ddd; /* Light border */
  height: 21px !important;
  line-height: 18px;
  width: 21px !important;
  border-radius: 50%; /* Circular buttons */
  transition: background-color 0.2s ease; /* Smooth hover transition */
}

.ndp-prev {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.ndp-next {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.ndp-next:hover, .ndp-prev:hover {
  color: #2876BD !important; /* Change color on hover */
  background-color: #f5f5f5 !important; /* Light hover effect */
}

.ndp-next .ndp-prev {
  border-radius: 0.375rem;
  color: #020202;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background: #ffffff;
}

.ndp-next .ndp-prev > svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ndp-next .ndp-prev:hover {
  color: rgb(244 244 245);
  background: rgb(244 244 245);
}

.ndp-date:nth-child(7) {
  background-color: #ff6b6b; /* Red for weekends */
  color: white;
}

#ndptb {
  width: 100%;
}
.modal-header, table thead {
    background: #2876BD;
    color:#fff
}
.modal .close, .modal .close:hover {
  opacity: 1 !important;
  color: #FFF;
}
.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}
