@import 'https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap';

.ticket-app {
  font-family: 'Noto Sans JP', sans-serif;
  color: #000000;
  -webkit-tap-highlight-color: transparent;
}
.btn-close {
  cursor: pointer;
}

.ticket-app .floating-bar {
  position: fixed;
  bottom: 0;
  background: #222222;
  opacity: 0.9;
  box-shadow: 0px 0px 24px rgba(51, 51, 51, 0.2), 0px 0px 8px rgba(51, 51, 51, 0.12);
  padding: 20px 24px 20px 16px;
  width: 100%;
  left: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.ticket-app .flex-between {
  display: flex;
  justify-content: space-between;
}
.modal-ticket::-webkit-scrollbar {
  width: 0px;
  background-color: #f5f5f5;
}

.ticket-app .modal-ticket {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100vw;
  padding: 16px 0;
  min-height: 250px;
  position: fixed;
  z-index: 9999;
  bottom: 0;
  background-color: white;
  border-radius: 15px;
  left: 0;
  height: 85vh;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  opacity: 1;
}

.ticket-app .modal-ticket .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 16px;
  padding: 0 15px;
}

.ticket-app .overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 5;
}

.ticket-app .hidden {
  display: none !important;
}
.flex-modal {
  padding: 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
}
.ticket-app .content-modal {
  overflow: auto;
}
.ticket-app .content-modal .item-modal {
  width: 100%;
  height: 134px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
}
.ticket-app .flex-title-item {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.ticket-app .flex-title-item img {
  width: 64px;
  height: 64px;
  border: 1px solid #f3f3f3;
}

.ticket-app .flex-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.ticket-app .flex-title .title-item {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
}

.ticket-app .item-modal .flex-item-button {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #007aff;
  cursor: pointer;
}
.ticket-app .item-modal .flex-item-button .a-href {
  color: #007aff;
  text-decoration: none;
}

.ticket-app .item-modal .flex-item-button .a-href.no-url {
  visibility: hidden;
  pointer-events: none;
}

.ticket-app .item-modal .flex-item-button button {
  width: 108px;
  height: 32px;
  background: rgba(0, 0, 0, 0.87);
  border-radius: 2px;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='8' viewBox='0 0 6 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.65625 0L5.65625 4L1.65625 8L0.71875 7.0625L3.78125 4L0.71875 0.9375L1.65625 0Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: 88px 12px;
  border: 0;
  cursor: pointer;
}
.ticket-app .item-modal .flex-item-button button.disabled-btn {
  background: rgba(0, 0, 0, 0.12);
}
.item-modal-disabled {
  background: #f3f3f3 !important;
}

.div-loading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 200px;
}

.ticket-app .loading-spinner {
  border: 10px solid #f3f3f3;
  border-top: 10px solid #3498db;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.detail-item {
  display: flex;
  flex-direction: column;
}
.detail-item img {
  height: 211px;
  margin-bottom: 15px;
  object-fit: cover;
}
.detail-item .used-image {
  width: 100%;
  height: 211px;
  background: rgba(0, 0, 0, 0.12);
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  text-align: center;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.detail-item .title-detail {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 8px;
  padding: 0 15px;
}
.detail-item .subTitle-detail {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 48px;
  padding: 0 15px;
}

.detail-item .button-detail {
  width: 345px;
  height: 56px;
  background: rgba(0, 0, 0, 0.87);
  border-radius: 2px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  margin: auto;
  margin-bottom: 16px;
  border: 0;
  padding: 0 15px;
  cursor: pointer;
}
.detail-item .button-detail:disabled {
  background: rgba(0, 0, 0, 0.12);
}
.detail-item .note-detail {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 48px;
  padding: 0 15px;
}
.detail-item .back-to-list {
  color: #007aff;
  text-decoration: none;
  text-align: center;
  margin: auto;
  cursor: pointer;
}
.popup-tikect-app {
  position: fixed;
  bottom: 20px;
  box-shadow: 0px 0px 24px rgb(51 51 51 / 20%), 0px 0px 8px rgb(51 51 51 / 12%);
  background: #222222;
  opacity: 0.9;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  right: 20px;
  cursor: pointer;
}

.modal-no-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 200px;
  gap: 10px;
}

@media (min-width: 750px) {
  .ticket-app .modal-ticket {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 500px;
    width: 71%;
    max-width: 700px;
    padding: 16px 0;
    position: fixed;
    z-index: 9999;
    background-color: white;
    border-radius: 15px;
    height: 80vh;
    max-height: 700px;
    overflow: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  .detail-item img {
    height: calc(71vw / 7);
    margin-bottom: 15px;
    min-height: 250px;
    object-fit: cover;
  }
  .floating-bar {
    display: none;
  }
  .popup-tikect-app {
    display: flex;
  }
}

@media (max-width: 750px) {
  .popup-tikect-app {
    display: none;
  }
  .floating-bar {
    display: initial;
  }
}
.loadmore-modal {
  margain: auto;
  color: #007aff;
  text-align: center;
  margin-bottom: 15px;
  cursor: pointer;
}

#model-guest .button-login{
  display: block;
  width: 345px;
  background: rgba(0, 0, 0, 0.87);
  border-radius: 2px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 18px 0;
}

#model-guest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

#model-guest .guest-message {
  text-align: center;
  min-height: 200px;
}

#model-guest p {
  padding: 0;
  margin: 0;
  font-weight: 300;
}