.qr-modal {
  width: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.411);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.qr-modal .qr-modal-body {
  background: #fff;
  text-align: center;
  max-width: 480px;
  margin: auto;
  transform: translateY(200%);
  padding: 20px;
  border-radius: 5px;
}
.qr-modal .qr-modal-body .qr-container {
  position: relative;
}
.qr-modal .qr-modal-body #qrcode {
  width: 100%;
  min-width: 300px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-modal .qr-modal-body .qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: white;
  padding: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
.qr-modal .qr-modal-body .close {
  height: 40px;
  padding: 0 15px;
  margin-bottom: 0px;
  margin-top: 30px;
}
.qr-modal .qr-modal-body p {
  font-weight: 600;
  margin-bottom: 20px;
}
.qr-modal.show {
  display: flex !important;
}
.qr-modal.show .qr-modal-body {
  transform: translateY(0%);
  transition: all 0.5s ease-in;
}

.show-qr {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 0.9rem;
  background: #ffffff;
  padding: 10px;
  border: 1.2px solid #000000;
}

.hide {
  display: none;
}

.main-qr {
  width: 100%;
  max-width: 480px;
  height: 100%;
  min-height: 350px;
  margin: auto;
  background: #efefef;
  background: url("https://cdn.kadio.id/images/logo/logo-fix.svg") bottom 30px center no-repeat, url("https://cdn.kadio.id/cdn/1748321896_3853752_8131012.jpg") center, #efefef;
  background-size: 150px, cover;
}
.main-qr #preview {
  background: url("https://cdn.kadio.id/cdn/1748321896_3853752_8131012.jpg") center, #f6f6f6;
}
.main-qr #preview video {
  width: 100% !important;
  -o-object-fit: cover;
     object-fit: cover;
}
.main-qr .mempelai {
  position: fixed;
  top: 90px;
  width: 100%;
  text-align: center;
  z-index: 2;
}
.main-qr .mempelai .title {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 12px;
  margin-bottom: 4px;
}
.main-qr .mempelai .flex {
  display: flex;
  justify-content: center;
}
.main-qr .mempelai .flex .and {
  margin: 0 5px;
}
.main-qr .mempelai .flex .groom, .main-qr .mempelai .flex .bride, .main-qr .mempelai .flex .and {
  font-size: 1.5rem;
}
.main-qr .scanner {
  height: calc(100% - 300px);
  background: #efefef;
  width: 100%;
}
.main-qr .guest-info {
  box-sizing: border-box;
  height: 255px;
  padding: 20px;
  background: #fff;
  border-radius: 30px 30px 0 0;
  transition: all 0.5s ease-in-out;
}
.main-qr .guest-info h2 {
  margin-left: 4px;
  margin-bottom: 5px;
  font-size: 1.2rem;
}
.main-qr .guest-info.active {
  height: auto;
  padding: 40px 20px;
  box-shadow: 0px 0px 25px 3px rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  position: fixed;
  width: 96%;
  top: 53%;
  transform: translateY(-50%);
  left: 2%;
  transition: all 0.5s ease-in-out;
}
.main-qr .btn-check-in {
  height: 40px;
  width: 100%;
  background: #de5f5a;
  border: none;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1rem;
}
.main-qr .btn-check-in.disable {
  pointer-events: none;
  background: #eaeaea;
}
.main-qr .btn-rescan {
  height: 40px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #595959;
  border-radius: 5px;
  font-size: 1rem;
  margin-top: 12px;
  color: #595959;
}
.main-qr .btn-rescan.disable {
  pointer-events: none;
  background: #eaeaea;
}
.main-qr video {
  height: 100%;
}
.main-qr table tr td {
  padding: 5px 2px;
}
.main-qr table tr td.label {
  max-width: 100px;
}
.main-qr .top {
  height: 45px;
  width: 100%;
  background: #484848;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 20px;
}
.main-qr .top.red {
  background: #de5f5a;
}
.main-qr .top h1 {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}
.main-qr .top .btn-close {
  border: none;
  background: #fff;
  padding: 5px 10px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #595959;
}
