input[readonly],
textarea[readonly],
select[readonly] {
  background-color: #e9e9e9ff !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  user-select: none !important;
}

.alert {
  font-size: 14px !important;
}

.datatable thead th,
.datatable thead td {
  background-color: #f7f7f7ff !important;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #000000;
  font-weight: 500;
}

/* Remove duplicate right borders */
.datatable thead th:not(:last-child),
.datatable thead td:not(:last-child) {
  border-right: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: url("data:image/svg+xml;utf8,<svg fill='black' height='16' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M4 6l4 4 4-4z'/></svg>")
    no-repeat right 0.75rem center/1rem;
  padding-right: 2rem; /* space for the arrow */
}

.form-label {
  margin: 0;
}

/* Card styles */
.action-card {
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.action-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.action-card .card-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  opacity: 0.3;
}
.action-card .card-footer {
  background: rgba(255, 255, 255, 0.1);
  border-top: none;
  padding: 2px;
}
.action-card {
  display: flex;
  flex-direction: column;
}

.action-card .card-body {
  flex: 1;
}

.action-card .card-footer {
  margin-top: auto;
}

/* Shift Badge Styles */
.shift.shift-chip {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 6px;
  margin: 2px 4px 2px 0;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.shift.bg-soft-blue {
  background: #e7f0ff;
  color: #1a4e8a;
}

.shift.bg-soft-orange {
  background: #fff4e5;
  color: #8a4b16;
}

/* Custom container widths */
.custom-container {
  margin: 0 auto;
  padding: 0 8px;
}

@media (max-width: 720px) {
  .custom-container {
    max-width: 100%;
  }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .custom-container {
    max-width: 720px;
  }
}

@media (min-width: 1081px) and (max-width: 1400px) {
  .custom-container {
    max-width: 1080px;
  }
}

@media (min-width: 1401px) {
  .custom-container {
    max-width: 1200px;
  }
}
