#loadingSpinner {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1000;
  text-align: center;
  padding-top: 20%;
}
.swal2-container {
  z-index: 1100 !important; /* Ensure it's higher than the modal's z-index */
}
.lucide {
  /* Change this! */
  /* color: #608000; */
  width: 20px;
  height: 20px;
  stroke-width: 1px;
}

.section {
  display: none; /* Hide all sections by default */
}
/* ปรับ input type file */
.custom-file {
  position: relative;
  display: inline-block;
}

.custom-file-input {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.custom-file-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #0f0f0e;
  font-weight: bold;
}

.file-preview {
  display: inline-block;
  margin: 0.5rem;
  position: relative;
}

.file-preview img,
.file-preview .fa-file {
  width: 100px;
  height: 100px;
}

.file-name {
  margin-top: 0.25rem;
}

.cookie-consent-banner,
.cookie-settings-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f4f4f4;
  padding: 10px;
  text-align: center;
  z-index: 1000;
}

.cookie-settings-modal {
  display: none;
  background-color: rgba(0, 0, 0, 0.5); /* Dim background */
  align-items: center;
  justify-content: center;
  height: 100%;
}

.cookie-settings-content {
  background: white;
  padding: 20px;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

.rating {
  display: flex;
  justify-content: center; /* Centers content horizontally */
  align-items: center; /* Centers content vertically if needed */
  flex-direction: row-reverse;
  gap: 0.5rem;
}
.rating:not(:checked) > input {
  position: absolute;
  appearance: none;
}

.rating:not(:checked) > label {
  float: right;
  cursor: pointer;
  font-size: 30px;
  fill: #666;
}

.rating:not(:checked) > label > svg {
  fill: #666; /* Set default color for SVG */
  transition: fill 0.3s ease; /* Add a transition effect */
}

.rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label,
.rating > label:hover ~ input:checked ~ label {
  fill: #e58e09;
}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
  fill: #ff9e0b;
}

.rating > input:checked ~ label > svg {
  fill: #ffa723; /* Set color for selected stars */
}

