#token {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#token-popup {
  background: white;
  padding: 15px;
  border-radius: 8px;
  width: 40%;
  max-width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.img-prof {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  height: 150px;
}
.card {
  border: 1px solid #959494;
  border-radius: 10px;
  padding: 15px;
}

/* claim code */

.container-code {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.code-image-container {
  width: 25%;
  margin-bottom: 30px;
  height: 260px;
  display: flex;
  justify-content: center;
}

.code-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.title-code {
  font-size: 60px;
  color: #726e6e;
  margin-bottom: 35px;
  font-family: system-ui;
  font-weight: 300;
}

.container-code-post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 500px;
}

.input-code {
  height: 50px;
  border: 1px solid #b4b2b2;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  font-size: 40px;
  height: 75px;
  min-width: 65%;
}
.input-code::placeholder {
  font-size: 40px;
  text-align: center;
  color: #cac9c9;
}
.button-code {
  width: fit-content;
  border-radius: 5px;
  padding: 10px 25px;
  border: none;
  background-color: #d7a920;
  color: #fff;
  font-weight: bold;
  margin: 0 auto;
  display: block;
  font-size: 20px;
  margin-top: 10px;
}

/* event exhibitor staff */
tbody tr td a.btn-input {
  color: white !important;
  background-color: rgb(113, 113, 236);
  padding: 4px 8px;
  border-radius: 5px;
}

.input-image-staff {
  width: 60px;
}

#generate-card {
  margin-top: 1px;
  border: 0px;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #6cc26c;
  color: white;
}

#import {
  margin-top: 1px;
  border: 0px;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #bbc84b;
  color: white;
  margin-left: 5px;
}
#change-template {
  margin-top: 1px;
  border: 0px;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #ff2121;
  color: white;
  margin-left: 5px;
}
#add-new-staff {
  margin-top: 1px;
  border: 0px;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #4287f5;
  color: white;
  margin-left: 5px;
}

/* event exhibitor staff edit */
.idcard-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  border: 1px solid rgb(144, 142, 142);
  border-radius: 10px;
  background-color: white;
}

.idcard-form {
  display: flex;
  flex-direction: column;
}
.idcard-form-text {
  padding: 7px;
  border-radius: 5px;
  border: 1px solid rgb(202, 199, 199);
}
.idcard-form-image {
  display: none !important;
}
.idcard-btn {
  width: 100%;
  border: 1px solid #6e6e6e;
  padding: 5px 0px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #d7a920;
  text-shadow: 0 0 2px #7f7e7e;
}
.idcard-btn:hover {
  background-color: #c7a920;
}
.btn-upload {
  border: 1px solid rgb(79, 79, 79);
  width: fit-content;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  background-color: #757575;
  cursor: pointer;
}
.btn-upload:hover {
  background-color: #5e5e5e;
}
.require {
  color: red;
}
.idcard-image {
  width: 150px;
  height: 200px;
}

.idcard-image-preview {
  width: 150px;
  height: 200px;
  object-fit: contain;
  border: 1px solid #6e6e6e;
}
#image-idcard {
  display: block;
  border: 1px solid black;
  margin-top: 44px;
}

.idcard-container-image {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0px;
  margin-bottom: 10px;
}
.idcard-warn {
  font-size: 12px;
  line-height: normal;
  margin: 0;
  padding: 0;
  margin-top: 27px;
}

.idcard-warn-b {
  font-size: 12px;
  line-height: normal;
  margin: 0;
  padding: 0;
}

/* print id card */

#frame-pdf {
  width: 100vw;
  height: 100vh;
  background-color: black;
  z-index: 100;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}

.sidebar-control {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  z-index: 200;
  background-color: rgb(50, 54, 57);
  color: white;
  padding: 10px;
  display: none;
}

.input-number {
  color: rgb(31, 36, 1);
  margin: 5px 0;
  border-radius: 5px;
  padding: 4px;
  width: 70px;
}

.save-edit-pdf {
  color: #ffffff;
  background-color: #7573f3;
  border: none;
  padding: 10px 0px;
  border-radius: 20px;
  margin-top: 20px;
  font-weight: bold;
}

.form-edit-pdf {
  display: flex;
  flex-direction: column;
}
.btn-close {
  background-color: #7ccd64;
  padding: 10px 0px;
  border: none;
  border-radius: 20px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}
.input-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}
/* select label child input container */
.input-container > label {
  font-size: 12px;
  margin: 0;
  font-weight: normal;
}

/* loader */
#loader {
  position: absolute;
  width: 300px;
  height: 70px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  font-size: 16px;
  top: 50%;
  left: 45%;
  z-index: 1000;
  border-radius: 5px;
  flex-wrap: wrap;
}

#loader-frame {
  position: fixed;
  width: 100vw;
  height: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
}
/* HTML: <div class="loader"></div> */
.loader-animation {
  width: 20px;
  aspect-ratio: 1;
  margin-left: 10px;
  border-radius: 50%;
  background: radial-gradient(farthest-side, #ffa516 94%, #0000) top/8px 8px
      no-repeat,
    conic-gradient(#0000 30%, #ffa516);
  animation: l13 1s infinite linear;
}
@keyframes l13 {
  100% {
    transform: rotate(1turn);
  }
}
#close-local-sidebar,
#close-sidebar {
  position: absolute;
  right: 15px;
  top: 11px;
  width: 32px;
  height: 32px;
  opacity: 0.9;
  cursor: pointer;
}
#close-local-sidebar:hover #close-sidebar:hover {
  opacity: 1;
}
#close-local-sidebar:before,
#close-local-sidebar:after,
#close-sidebar:before,
#close-sidebar:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 3px;
  background-color: #fd0000;
}
#close-local-sidebar:before,
#close-sidebar:before {
  transform: rotate(45deg);
}
#close-local-sidebar:after,
#close-sidebar:after {
  transform: rotate(-45deg);
}
#sidebar-pop {
  position: fixed;
  z-index: 1000;
  bottom: 33px;
  right: 33px;
  width: 40px;
  background-color: red;
  padding: 5px;
  height: 40px;
  border-radius: 5px;
  cursor: pointer;
  display: none;
}
#sidebar-local-pop {
  width: fit-content;
  background-color: #d1e130;
  padding: 5px 5px 0px 5px;
  border-radius: 5px;
  position: fixed;
  right: 33px;
  bottom: 80px;
  z-index: 1000;
  cursor: pointer;
  display: none;
}
#counter-card {
  width: 100%;
  text-align: center;
  color: #676767;
  font-size: 12px;
  margin-top: 5px;
}

/* co admin section */
.form_co_admin {
  width: 100%;
  border: 1px solid #a9a9a9;
  padding: 20px 10px;
  margin: 10px 0px;
  border-radius: 4px;
}
.form_list_co {
  display: flex;
  flex-direction: column;
  margin: 10px 0px;
}
.title_co {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
}
.checkbox_co {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
  max-width: 105px;
}
.checkbox_co label {
  margin: 0;
}
.checkbox_co input {
  margin: 0;
}
.btn_co_admin {
  padding: 5px 25px;
  border: none;
  border-radius: 4px;
  color: white;
  background-color: #7180f5;
  width: fit-content;
  font-weight: bold;
}
#email_co_admin {
  padding: 5px;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
}

/* filter css */

.show_filter_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  justify-content: center;
  align-items: center;
  z-index: 100;
  display: none;
}

.btn-print {
  padding: 8px 16px;
  background-color: rgb(34, 136, 255);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 1.5px 3px;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

/* pop up filter */
.form_filter {
  display: flex;
  flex-direction: column;
}

.filter_label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  font-weight: 600;
  background-color: #f6f6f6;
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
}

.filter_label input {
  cursor: pointer;
  margin: 0;
}

.show_filter {
  width: 330px;
  padding: 15px;
  background-color: #fff;
  border-radius: 4px;
  font-size: 15px;
}

.btn_filter,
.btn_filter_cancel {
  border: 1px solid transparent;
  padding: 8px 16px;
  background-color: #007bff;
  border-radius: 4px;
  color: white;
}

.btn_filter_cancel {
  border: 1px solid red;
  color: black;
  background-color: white;
}

.btn_filter:hover,
.btn_filter_cancel:hover {
  opacity: 0.8;
}

.btn_filter_container {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 10px;
}

#close_print {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 100;
  background-color: #ff5d5d;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}
.close_print {
  color: white;
  width: 50px;
  height: 50px;
}
#cancel_import {
  border: none;
  color: white;
  background-color: #ff6666;
  padding: 8px 16px;
  border-radius: 4px;
}
#export-data {
  margin-left: 10px;
  border: none;
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
}
.export-popup {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#export-popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.btn-cancel {
  padding: 8px 16px;
  border: 1px solid red;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}
.btn-export {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: white;
  cursor: pointer;
}

.template-selection {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.template-option {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}
.template-option input[type="radio"] {
  display: none;
}
.template-label {
  display: block;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  background: #fff;
}
.template-label:hover {
  border-color: #5bc0de;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.template-option input[type="radio"]:checked + .template-label {
  border-color: #337ab7;
  background: #f0f8ff;
  box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.1);
}
.template-image-wrapper {
  margin: 10px 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.template-image-wrapper img {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}
.template-title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  margin-top: 12px;
  display: block;
}
.template-option input[type="radio"]:checked + .template-label .template-title {
  color: #337ab7;
}
.template-checkmark {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  background: #337ab7;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
}
.template-option
  input[type="radio"]:checked
  + .template-label
  .template-checkmark {
  display: block;
}
