.custom_container {
  max-width: 100%;
  background-color: transparent;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.center_content {
  text-align: center;
}

.custom_table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.custom_table th,
.custom_table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.custom_table th {
  background-color: #04558c;
  color: white;
}

.custom_input {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.custom_button {
  padding: 6px 12px !important;
  background-color: #050b7f !important;
  color: white !important;
  border: none !important;
  border-radius: 4px !important;
  margin-left: 5px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom_button:hover {
  background-color: #4391ff !important;
  color: #050b7f !important;
}

.time_input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 120px;
}

.time-range-wrapper {
  margin: 15px 0;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
  max-width: 400px;
}

.time-range-wrapper label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.time-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-picker {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 100px;
  text-align: center;
}

.time-separator {
  color: #444;
  font-size: 14px;
}
.time-range-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.time-range-wrapper {
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.time-range-wrapper label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.time-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.time-picker {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 100px;
  text-align: center;
}

.time-separator {
  color: #444;
  font-size: 14px;
}

.weekend-block {
  text-align: center;
  margin: 30px 0 20px;
}

.weekend-label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
}

.weekday-checkboxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.weekday-checkboxes label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.weekday-checkboxes label:hover {
  background-color: #e3e3e3;
}

/* Existing email list row */
.alert-row {
  border-bottom: 1px solid #ddd;
}

.email-cell {
  padding: 8px 12px;
  font-size: 14px;
  color: #222;
  font-family: Arial, sans-serif;
}

.delete-cell {
  text-align: right;
  padding: 8px 12px;
}

/* Delete link */
.delete-link {
  color: #04558c;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.delete-link:hover {
  color: #002f5e;
  text-decoration: underline;
}

.email-alert-wrapper {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.email-alert-table {
  width: 80%;
  border-collapse: collapse;
  font-size: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.email-alert-table th {
  background-color: #050b7f;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-align: left;
}

.email-alert-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e2e2e2;
}

.email-alert-table td a.delete-link {
  color: #0645ad;
  text-decoration: none;
}

.email-alert-table td a.delete-link:hover {
  text-decoration: underline;
}

.alert-row {
  border-bottom: 1px solid #ddd;
}

.email-cell {
  padding: 8px 12px;
  font-size: 14px;
  color: #222;
  font-family: Arial, sans-serif;
}

.delete-cell {
  text-align: right;
  padding: 8px 12px;
}

.delete-link {
  color: #04558c;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.delete-link:hover {
  color: #002f5e;
  text-decoration: underline;
}

.email-alert-table th {
  text-align: left;
  padding: 8px 12px;
  background-color: #050b7f;
  color: white;
  font-weight: bold;
}

.row-number {
  padding: 8px 12px;
  width: 30px;
  font-weight: bold;
  color: #333;
}

.add-email-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.add-email-row input[type="email"] {
  flex: 1;
  max-width: 400px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.toast {
  background-color: #28a745;
  color: #fff;
  padding: 12px 20px;
  margin-top: 10px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  animation: fadeInOut 4s forwards;
}
.toast.error {
  background-color: #dc3545;
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  10% {
    opacity: 1;
    transform: translateX(0);
  }
  90% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

table.dataTable {
  font-size: 12px;
  white-space: nowrap;
}

th,
td {
  text-align: center;
  vertical-align: middle;
}

.action-btn {
  padding: 2px 6px;
  font-size: 12px;
}


/* Ensure modal is scrollable inside */
.modal-dialog {
  max-width: 800px;
}
.modal-body {
  max-height: 80vh;
  overflow-y: auto;
}

/* Grid for user data checkboxes */
.user-data-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.user-data-grid label {
  white-space: nowrap;
  font-size: 14px;
}
