.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-box {
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.popup-box h2 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--blue);
}

.popup-box p {
  margin-bottom: 15px;
}

.popup-box.success {
  border-left: 5px solid var(--blue);
}

.popup-box.error {
  border-left: 5px solid red;
}

.popup-box.warning {
  border-left: 5px solid rgb(228, 214, 17);
}

.popup-box button {
  background-color: var(--blue);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  font-weight: 500;
}

.popup-box button:hover {
  background-color: rgb(61, 61, 255);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.popup-box .btnClose:active {
  background-color: rgb(2, 2, 161);
  border-color: rgb(2, 2, 161);
  box-shadow: none;
}

.popup-box .btnClose {
  background-color: var(--orange);
  color: var(--white);
  border: 1px solid #d9534f;
  padding: 10px 20px;
  margin-left: 10px;
}

.popup-box .btnClose:hover {
  background-color: #f09036;
  color: #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.popup-box .btnClose:active {
  background-color: #a74b16;
  border-color: #a74b16;
  box-shadow: none;
}

.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--blue);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 0.7s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.popup-box.error h2 {
  color: red;
}

.popup-box.warning h2 {
  color: rgb(228, 214, 17);
}

.status-icon {
  margin-right: 8px;
  font-size: 1.2rem;
  vertical-align: middle;
}

.icon-pending {
  color: #ffa500;
}

.icon-closed {
  color: #28a745;
}

.icon-schedule {
  color: #007bff;
}

.icon-error {
  color: red;
}

.icon-warning {
  color: rgb(228, 214, 17);
}

.ticket-input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid var(--blue);
  border-radius: 5px;
  font-size: 16px;
}

.ticket-input:focus {
  outline: none;
  border-color: var(--orange);
}

.button-group button {
  flex: 1;
  margin: 5px;
}

.popup-box h2 {
  margin-bottom: 5px;
}
