/* Prevent modal from showing before initialization */
.modal:not(.show) {
    display: none !important;
}
/* Fix for backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}
/* Popup Background */
.modal-backdrop {
  background-color: #000 !important;
  opacity: 0.2 !important;
}

button {
    height: 40px;
}
.card .card-header{
  border-bottom-width: 1px !important;
  --tw-border-opacity: 1 !important;
  border-color: rgb(241 241 241 / var(--tw-border-opacity))!important;
  padding: 25px !important;
      background: #fff;
}

.full-width {
  width: 100%;
  display: block;
}
.no-arrows::-webkit-inner-spin-button,
.no-arrows::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.no-arrows {
  -moz-appearance: textfield;
}
.max-w-\[450px\] {
    max-width: 450px;
}
.max-w-\[350px\] {
    max-width: 350px;
}

/* Excel export styling */
.table-export {
  direction: rtl;
  width: 100%;
  border-collapse: collapse;
}
.table-export th {
  background-color: #f2f2f2;
  font-weight: bold;
  border: 1px solid #ddd;
  padding: 8px;
  text-align: right;
}
.table-export td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: right;
}
.table-export .table-primary {
  background-color: #e7f1ff;
}


    .time-input {
        min-width: 80px;
		max-width: 115px;
        padding: 0.25rem 0.5rem;
    }
    .table td, .table th {
        vertical-align: middle;
    }
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }



@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 500px;
    }
}
h5#addTimeModalLabel {
    color: #fff;
}
    .input-group-text.date-display {
        display: flex;
        align-items: center;
        width: 100%;
        background-color: #f8f9fa; /* Match Bootstrap's disabled input color */
    }
    .date-value {
        flex-grow: 1;
        text-align: center;
    }