/* * {
  font-family: "Verdana";
} */

.summary-box {
  margin: 5px;
  width: 15%;
  height: 5%;

  display: block;
}

.box {
  border: 1px solid #D3D3D3;
}

.summary-amt {
  font-size: 1rem;
  font-weight: bold;
}

h1 {
  color: #D3D3D3;
}



.yesBtn {
  background-color: #008080;
  color: white;
  border-radius: 12px;
  margin: auto;
  width: 9rem;
  height: 2.7rem;
  font-size: 0.70rem;
}

.yesBtn:hover {
  background-color: #454545;
  color: white;
  border-radius: 12px;
  margin: auto;
  width: 9rem;
  height: 2.7rem;
  font-size: 0.70rem;
}

.dataFont {
  font-size: 0.70rem;
}

.editPen {
  color: black;
}

.noBtn {
  background-color: #454545;
  color: white;
  border-radius: 8px;
  border: none;
  margin: auto;
  width: 9rem;
  height: 2.7rem;
  font-size: 0.70rem;
}

.noBtn:hover {
  background-color: #008080;
  color: white;
  border-radius: 8px;
  border: none;
  margin: auto;
  width: 9rem;
  height: 2.7rem;
  font-size: 0.70rem;
}

.ledgerName {
  color: #008080;
  text-transform: uppercase;
  font-weight: bold;
}

#allocEditProdTable {
  width: 80%;
  margin: auto;
}

#allocEditProdTable tr:nth-child(even) {
  background-color: #D6EEEE;
  font-size: 0.63rem;
}


#allocEditProdTable thead {
  background-color: #008080;
  color: white;
  font-size: 0.63rem;

}

#allocEditProdTable tr {
  font-size: 0.63rem;
  height: 12px;
  font-style: normal;
}

#allDetTbl {
  width: 100%;
  margin: auto;
  font-style: normal;
}

#allDetTbl tr:nth-child(even) {
  background-color: #D6EEEE;
  font-size: 0.70rem;
}

#allDetTbl thead {
  background-color: #008080;
  color: white;
  font-size: 0.70rem;

}

#allDetTbl tr {
  font-size: 0.70rem;
  height: 0.70rem;
}

.tealfa a i {
  color: #008080;
  padding: 0%;
  margin: 0%;
  font-size: 0.70rem;
}

.tealfa a :hover {
  color: #454545;
  padding: 0%;
  margin: 0%;
  font-size: 0.70rem;
}

.redfa a i {
  color: red;
  padding: 0%;
  margin: 0%;
  font-size: 0.70rem;
}

.redfa a :hover {
  color: red;
  padding: 0%;
  margin: 0%;
  font-size: 0.70rem;
}

.tealFaBtn {
  color: #008080;
  font-size: 0.70rem;
  padding: 0%;
  margin: 0%;
}

.redFaBtn {
  color: red;
  font-size: 0.70rem;
  padding: 0%;
  margin: 0%;
}

.tealColor {
  color: #008080;
}


input[type="checkbox"] {
  width: 0.70rem;
  height: 0.70rem;
  accent-color: #008080;
}

#mainChkId {
  width: 0.70rem;
  height: 0.70rem;
  accent-color: white;

}

#mainChkId:checked::after {
  content: "✓";
  color: #008080;
  /* font-size: 14px; */
  width: 0.70rem;
  height: 0.70rem;

}

.autocomplete-select {
  position: relative;
  width: 250px;
  margin-bottom: 5px;
}

.autocomplete-select input[type="text"] {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
  text-align: start;
}

.options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  background: white;
  max-height: 100px;
  overflow-y: auto;
  display: none;
  z-index: 10;
  border-radius: 4px;
  font-size: 0.70rem;
}

.option {
  padding: 8px;
  cursor: pointer;
}

.option:hover,
.option.active {
  background-color: #008080;
  color: white;
}

/* 🔴 Red border for invalid input */
.invalid-field {
  border: 2px solid red !important;
}


/* Flatpickr customization */
input[type="text"] {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 0.70rem;
  width: 200px;
  text-align: center;
}



/* ======== Flatpickr calendar styling ======== */
.flatpickr-calendar {
  background-color: #008080;
  /* Main calendar background */
  color: white;
  border: 1px solid #D6EEEE;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 0.70rem;
}

/* Header (month & year area) */
.flatpickr-months {
  background-color: #008080 !important;
  /* Teal header */
  color: white !important;
  border-radius: 10px 10px 0 0;
  font-size: 0.70rem;
}

.flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  background-color: #008080 !important;
  color: white !important;
  border: none;
  font-size: 0.70rem;
}

.flatpickr-current-month span.cur-month {
  color: white !important;
  font-size: 0.70rem;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: white !important;
  /* White arrows */
  font-size: 0.70rem;
}

/* Weekdays row */
.flatpickr-weekdays {
  background-color: #008080;
  color: #D6EEEE;
  font-size: 0.70rem;
}

/* Individual days */
.flatpickr-day {
  color: white;
  border-radius: 6px;
  font-size: 0.70rem;
}

.flatpickr-day:hover {
  background-color: #20B2AA;
  /* Lighter hover effect */
  font-size: 0.70rem;
}

/* Selected date styling */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background-color: #D6EEEE !important;
  color: #008080 !important;
  font-size: 0.70rem;
}


.inputClass-6 input[type="text"] {
  width: 16rem;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.2s;
  text-align: start;
  font-size: 0.70rem;

}

.inputSpan-6 {
  width: 16rem;
  display: inline-block;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.2s;
  text-align: start;
  font-size: 0.70rem;
  height: 2rem;
}

.inputTable-6 input[type="text"] {
  width: 8rem;
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
  /* border: 1px solid #ccc; */
  border-radius: 4px;
  transition: border-color 0.2s;
  text-align: start;
  font-size: 0.70rem;
  height: 2rem;
}

.inputTable-18 input[type="text"] {
  width: 8rem;
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
  /* border: 1px solid #ccc; */
  border-radius: 4px;
  transition: border-color 0.2s;
  text-align: start;
  font-size: 0.70rem;
  height: 2rem;
}

.textRed {
  color: red;
}

.formHead {
  font-size: 0.70rem;
  color: gray;
  font-weight: bold;
}

.formHead-8 {
  font-size: 0.90rem;
  color: gray;
  font-weight: bold;
}

.addrr {
  font-size: 0.70rem;
  color: gray;
}


.vourcher-title {
  font-size: 1rem;
  font-weight: bold;
  color: #008080;

}

hr {
  margin: 15px;
}

span {
  font-size: 0.70rem;
}

#toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  min-width: 250px;
  max-width: 350px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 1;
  animation: slideIn 0.3s ease-out;
}

/* Colors */
.toast-msg.success {
  background: #28a745;
}

.toast-msg.error,
.toast-msg.danger {
  background: #dc3545;
}

.toast-msg.warning {
  background: #ffc107;
  color: #000;
}

.toast-msg.info {
  background: #17a2b8;
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}
