.hide {
  display: none;
}

#error-msg {
  color: red;
  margin-left: 2px;
}

#valid-msg {
  color: green;
  margin-left: 2px;
}

.time-slot {
  display: inline-block;
  padding: 3px 15px;
  border: 1px solid #969696;
  border-radius: 3px;
  text-align: center;
  margin-right: 5px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  box-shadow: 0 2px 4px -2px #777;
  min-width: 80px;
  width: auto;
}

.time-slot-book,
.time-slot:hover {
  background-color: #6571ff;
  cursor: pointer;
  color: #fff;
  border: 1px solid #3596e8;
}

.time-interval:hover {
  cursor: pointer;
}

.slot-heading {
  margin-top: 10px;
  margin-bottom: 10px;
}

.color-information {
  color: #ef930a !important;
}

.unassigned-bed {
  color: #298f3e;
}

.assigned-bed {
  color: #b3381c;
}

.no-bed-available {
  margin: auto;
  margin-bottom: 6px;
  padding: 5px 15px 5px 15px;
  font-size: 20px;
  color: #2e2e2e;
  text-shadow: 3px -1px 4px #cecece;
}

.bad-status-hover {
  display: block;
  position: relative;
}

.bed-status-popup {
  opacity: 0;
  position: absolute;
  top: 32px;
  background: #fafafa;
  border: 1px solid transparent;
  border-radius: 6px;
  height: 0px;
  padding: 0 12px;
  margin-left: 70px;
  margin-top: -30px;
  overflow: hidden;
  transition: all 500ms;
  text-align: left;
}

.bad-status-hover:hover .bed-status-popup {
  padding: 12px 12px;
  height: auto;
  opacity: 1;
  z-index: 50;
  width: 320px;
  border: 1.5px solid;
  max-width: 175px;
}

.iti {
  display: block !important;
  width: 100%;
}

.plan-data {
  width: 60%;
}
@media (max-width: 767px) {
  .plan-data {
    width: 50%;
  }
}

.plan-border-bottom {
  border-bottom: 1px dashed #eff2f5;
}

.flatpickr-day {
  max-width: 39px !important;
}

body {
  overflow-x: hidden;
}

.action-dropdown {
  min-width: 220px !important;
  padding-bottom: 0 !important;
}

.custom-row-padding {
  padding: 15px 0 !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.width-sm-280 {
  width: 280px !important;
}

.price-column div {
  justify-content: end !important;
}

.price-sec-column div {
  justify-content: center !important;
}

.modal-header .btn-close {
  margin: inherit !important;
  padding: 0.9375rem 0.9375rem 0.9375rem 0 !important;
}

@media (max-width: 2560px) {
  .custom-modal {
    max-width: 1400px !important;
  }
}
@media (max-width: 1440px) {
  .custom-modal {
    max-width: 1400px !important;
  }
}
@media (max-width: 1024px) {
  .custom-modal {
    max-width: 950px !important;
  }
}
@media (max-width: 768px) {
  .custom-modal {
    max-width: 700px !important;
  }
}

.swal-text {
  text-align: center !important;
}

.custom-btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

@media (min-width: 425px) {
  .custom-margin {
    margin-right: 0.75rem !important;
  }
}

@media (min-width: 921px) {
  .appointment-custom-row {
    flex-direction: row !important;
  }
}

.custom-width {
  width: 210px !important;
}

.break-form-check {
  padding-left: 3.063em;
}

#avlQtyDiv {
  width: 180px !important;
}

.available-qty-div {
  width: 180px !important;
}

.custom-payment-btn {
  position: absolute;
  right: 0;
  top: 0;
}
@media (max-width: 496px) {
  .custom-payment-btn {
    position: relative;
  }
}

.listing-skeleton .card {
  height: 750px;
}
.listing-skeleton .pulsate {
  background: linear-gradient(90deg, #dddddd, #f0f0f0, #dddddd, #f0f0f0);
  background-size: 400% 400%;
  -webkit-animation: Gradient 2s ease infinite;
          animation: Gradient 2s ease infinite;
}
.listing-skeleton .card-content {
  clear: both;
  box-sizing: border-box;
  padding: 16px;
  background: #fff;
}
.listing-skeleton .search-box {
  width: 300px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.listing-skeleton .widget {
  width: 300px;
  height: 180px;
  margin-top: 8px;
  margin-left: 5px;
}
.listing-skeleton .widget-2 {
  width: 300px;
  height: 180px;
  margin-top: 8px;
  margin-left: 5px;
  margin-right: 500px;
}
.listing-skeleton .date-box {
  width: 220px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.listing-skeleton .filter-box {
  width: 50px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.listing-skeleton .export-box {
  width: 110px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.listing-skeleton .event-box {
  height: 240px;
  margin-bottom: 8px;
}
.listing-skeleton .add-button-box {
  width: 120px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.listing-skeleton .table {
  width: 100%;
  height: 45px;
  margin-top: 8px;
  margin-left: 5px;
}
.listing-skeleton .column-box {
  height: 45px;
  margin-top: 8px;
  margin-left: 10px;
}
@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.dashboard-skeleton .card {
  height: 800px;
}
.dashboard-skeleton .pulsate {
  background: linear-gradient(90deg, #dddddd, #f0f0f0, #dddddd, #f0f0f0);
  background-size: 400% 400%;
  -webkit-animation: Gradient 2s ease infinite;
          animation: Gradient 2s ease infinite;
}
.dashboard-skeleton .card-content {
  clear: both;
  box-sizing: border-box;
  padding: 16px;
  background: #fff;
}
.dashboard-skeleton .search-box {
  width: 300px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.dashboard-skeleton .widget {
  width: 300px;
  height: 180px;
  margin-top: 8px;
  margin-left: 5px;
}
.dashboard-skeleton .widget-2 {
  width: 300px;
  height: 180px;
  margin-top: 8px;
  margin-left: 5px;
  margin-right: 500px;
}
.dashboard-skeleton .date-box {
  width: 220px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.dashboard-skeleton .filter-box {
  width: 50px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.dashboard-skeleton .chart {
  width: 100%;
  height: 360px;
  margin-top: 5px;
}
.dashboard-skeleton .table {
  width: 100%;
  height: 45px;
  margin-top: 8px;
  margin-left: 5px;
}
.dashboard-skeleton .column-box {
  height: 45px;
  margin-top: 8px;
  margin-left: 10px;
}
@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.admin-dashboard-skeleton .card {
  height: 680px;
}
.admin-dashboard-skeleton .pulsate {
  background: linear-gradient(90deg, #dddddd, #f0f0f0, #dddddd, #f0f0f0);
  background-size: 400% 400%;
  -webkit-animation: Gradient 2s ease infinite;
          animation: Gradient 2s ease infinite;
}
.admin-dashboard-skeleton .card-content {
  clear: both;
  box-sizing: border-box;
  padding: 16px;
  background: #fff;
}
.admin-dashboard-skeleton .search-box {
  width: 300px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.admin-dashboard-skeleton .widget {
  width: 300px;
  height: 180px;
  margin-top: 8px;
  margin-left: 5px;
}
.admin-dashboard-skeleton .widget-2 {
  width: 300px;
  height: 180px;
  margin-top: 8px;
  margin-left: 5px;
  margin-right: 500px;
}
.admin-dashboard-skeleton .date-box {
  width: 220px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.admin-dashboard-skeleton .filter-box {
  width: 50px;
  height: 40px;
  margin-top: 8px;
  margin-left: 5px;
}
.admin-dashboard-skeleton .chart {
  width: 100%;
  height: 360px;
  margin-top: 5px;
}
.admin-dashboard-skeleton .table {
  width: 100%;
  height: 45px;
  margin-top: 8px;
  margin-left: 5px;
}
.admin-dashboard-skeleton .column-box {
  height: 45px;
  margin-top: 8px;
  margin-left: 10px;
}
@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.time-slot-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.time-slot-box {
  min-width: 80px;
  padding: 6px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  border: 1.5px solid #ddd;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.time-slot-box.available {
  background-color: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.time-slot-box.available:hover {
  background-color: #dcfce7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}
.time-slot-box.booked {
  background-color: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
  cursor: not-allowed;
  opacity: 0.65;
  filter: blur(0.4px);
  pointer-events: none;
}
.time-slot-box.selected {
  background-color: #16a34a;
  color: #ffffff;
  border-color: #15803d;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
  transform: translateY(-2px);
}

.time-slot-area.d-none {
  display: none !important;
}
