
/* 正常字體 */
@font-face {
  font-family: 'CustomFont';
  src: url('../fonts/ABChanelCorpo2022-Regular.otf?v01') format('opentype');
  font-weight: normal;
  font-style: normal;
}
/* 粗體 */
@font-face {
  font-family: 'CustomFont';
  src: url('../fonts/ABChanelCorpo2022-SemiBold.otf?v01') format('opentype');
  font-weight: bold;
  font-style: normal;
}
body{
  background-color: #e3e3e3;
  font-family: 'CustomFont', sans-serif;
}
strong{
  font-weight: bold;
}

.ticket-box {
  position: relative;
  color: #444;
  border: 1px solid #d3d3d3;
  min-width: 300px;
  max-width: 380px;
  min-height: 200px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.ticket-box:before {
  content: '';
  position: absolute;
  border-radius: 10px 10px 0px 0px;
  min-height: 10px;
  width: 100%;
  background-color: black;
}

.coverImg{
  border-radius: 10px 10px 0px 0px;
  width: 100%;
}
.container {
  width: 300px;
  padding: 10px;
  margin: 32px auto;
}

.title {
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.subtitle {
  white-space: pre-line;
  text-align: center;
  font-size: 18px;
  font-weight:400;
  margin-bottom: 20px;
}
.other{
  border: 1px solid #c0c0c0;
  padding: 5px 15px;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
  color: #adadad;
}

.row {
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  /*border-bottom: #dadada 1px solid;*/
}

.qr-code {
  text-align: center;
  margin: 20px 0;
}

.info {

  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 上下置中 */
  align-items: center;
  /* 左右置中 */
  text-align: center;
  /* 文字對齊調整為中心對齊 */
  padding: 10px;
}

.jobnumber {
  font-size: 20px;
  margin-bottom: 10px;

}

.ticketname {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
  word-break: break-all;
}

.check-area {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;

}

.check-button {
  border: 1px solid #000;
  padding: 5px 15px;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
  color: black;
}

.ticket-info {
  margin-top: 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.ticket-info .item {
  min-height: 20px;
  margin-bottom: 10px;
  /* 為每個div添加10px的底部邊距 */
}
.ticket-info .left {
  width: 35%;
}



.footer {
  border-top: #dadada 1px solid;
  text-align: center;
  font-size: 10px;
  color: #999;
  margin-top: 30px;
}

.checkin{
  padding: 10px 10px;
  width: 80px;
  height: 80px;
  background-image: url("/assets/images/checkin.png");
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;

}

.checkout{
  padding: 10px 10px;
  width: 80px;
  height: 80px;
  background-image: url("/assets/images/checkout.png");
  background-size: 90%;
  background-position: center;
 background-repeat: no-repeat;
}
.round-img{
  padding: 10px 10px;
  width: 80px;
  height: 80px;
}

.grayscale-image {
  opacity: 0.2;
  filter: grayscale(100%);
}


.preload{
  background-color: rgba(255, 255, 255, 0.64);
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;


}
.loader {
  width: 50px;
  aspect-ratio: 1;
  --_c:no-repeat radial-gradient(farthest-side, #000 92%,#0000);
  background:
    var(--_c) top,
    var(--_c) left,
    var(--_c) right,
    var(--_c) bottom;
  background-size: 12px 12px;
  animation: l7 1s infinite;
}
@keyframes l7 {to{transform: rotate(.5turn)}}


#rsvp{

  .container{
    padding: 20px;
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #d3d3d3;
  }


  h1 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  p{
    line-height: 28px;
  }
  .rsvp_actions {
    margin-top: 15px;
    margin-bottom: 30px;
  }

  .rsvp_actions div {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
  }

  .rsvp_actions div.active {
    margin-top: 60px;
    background-color: black; /* 確認參與按鈕的綠色 */
    color: #ffffff;
  }

  .rsvp_actions div {
    margin-top: 30px;
    background-color: #f1f1f1; /* 不克前往按鈕的灰色 */
    color: #888;
  }

  .rsvp_actions p {
    padding-top: 20px;
    margin: auto;
    text-align: center;
   color: black;
  }

  .field{
    margin-top: 20px;
  }
  .field_checkbox{
    margin-top: 20px;
    input {
      width:unset;
    }
  }

  input{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #f9f9f9;
  }
  input:focus {
    border-color: black;
    outline: none;
    background-color: #fff;
  }


}

.rsvp_form .container{
  padding: 20px;
  border-radius: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #d3d3d3;
}

.rsvp_form .field{
  margin-top: 20px;
}
.rsvp_form .field label{
  line-height: 31px;
}

.rsvp_form .field_checkbox{
  margin-top: 20px;
  input {
    width:unset;
  }
}

.rsvp_form .field_radio{
  margin-top: 20px;
  input {
    width:unset;
  }
}




.rsvp_form input{
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #f9f9f9;
}
.rsvp_form input:focus {
  border-color: black;
  outline: none;
  background-color: #fff;
}

.rsvp_form select {
  width: 100%;
  height: 45px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #f9f9f9;
}
.rsvp_form select:focus {
  border-color: black;
  outline: none;
  background-color: #fff;
}


.rsvp_form .alert-msg{
  padding: 10px 0;
  color: black;
  background-color: #d6d6d6;
  text-align: center;
  border-radius: 5px;
  margin-top: 10px;
}
.rsvp_btn{
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  background-color: #efefef;
  color: #888888;
}
.rsvp_btn.active{
  background-color: #000;
  color: #ffffff;
}
.rsvp_btn.active.disabled{
  background-color: rgba(202, 0, 0, 0.65);

}
.no_data{
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;

}
hr{
  margin: 20px 0;
  border: none;
  height: 1px;
  background-color: #dadada;
}
a{
  color: #000000;
}
.note{
  text-align: center;
  font-size: 12px;
}
.rsvp_thanks{
  font-size: 20px;
  text-align: center;
  margin: 80px 0;
}
.rsvp_title{
  text-align: center;
}
.rsvp_text{
  text-align: center;
}
.rsvp_subtitle{
  font-size: 20px;
  text-align: center;
}
.rsvp_date{
  line-height: 16px;
  font-size: 16px;
  text-align: center;
}


.rsvp_deadline{
  color: black;
  text-align: center;
}
.rsvp_alert{
  margin-top: 20px;
  color: black;
  text-align: center;
}
.show_after_info{
  background-color: black;
  font-size: 30px;
  text-align: center;
  border-radius: 7px;
  color: white;
  padding: 20px;
}
.show_after_info p{
  margin: 0;
  margin-bottom: 10px;
  font-size: 12px;
}
.qr-number{
  margin-top: 30px;
  font-size: 10px;
  text-align: center;
  color: #999999;
}
.hide{
  display: none;
}

.note_info{
  text-align: center;
  font-size: 12px;
}
table{
  width: 100%;
}

td {
  padding: 5px;
  text-align: left;
}
td:first-child {
  display: flex;

}
.togglePassword{
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: block;
  align-content: center;
  padding: 0 6px;
}
