@import url("//fonts.googleapis.com/css?family=Lato:400,300,200,400italic,500,500italic");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  color: #fff;
  font-family: Lato, sans-serif;
  font-weight: 300;
}
.z {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}
.cover {
  position: fixed;
  min-width: 100vw;
  min-height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.left-bg {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 500px;
  min-height: 100vh;
  background-color: #020616;
  background: #001b38;
  background: -moz-linear-gradient(left, rgba(0,27,56,0.85) 0%, rgba(0,27,56,0.85) 5%, rgba(0,27,56,0) 100%);
  background: -webkit-linear-gradient(left, rgba(0,27,56,0.85) 0%, rgba(0,27,56,0.85) 5%, rgba(0,27,56,0) 100%);
  background: linear-gradient(to right, rgba(0,27,56,0.85) 0%, rgba(0,27,56,0.85) 5%, rgba(0,27,56,0) 100%);
}
.meetings {
  position: absolute;
  left: -25px;
  top: 36px;
}
.meetings.in .meeting {
  opacity: 0.75;
  transform: translateX(25px);
}
.meetings .meeting:hover {
  opacity: 0.85;
  transform: translateX(32px);
  cursor: pointer;
}
.meetings.in .meeting.current {
  transform: translateX(100px);
}
.meetings .meeting.current:hover {
  opacity: 0.9;
  transform: translateX(112px);
  cursor: pointer;
}
.meeting {
  background-color: #001b38;
  background-color: #001b38;
  width: 500px;
  height: 120px;
  margin-bottom: 20px;
  padding: 15px 25px 15px 50px;
  opacity: 0;
  transition: all 300ms ease-in-out;
}
.meeting h2 {
  font-weight: 300;
  font-size: 28.8px;
  margin-bottom: 4px;
  width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meeting h3 {
  font-weight: 200;
  font-size: 22.4px;
  margin-bottom: 1px;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.meeting h4 {
  font-weight: 200;
  font-size: 16px;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.meeting.current {
  background-color: #13365b;
  height: 165px;
  width: 600px;
  padding: 20px 25px 20px 50px;
  margin-left: -75px;
}
.meeting.current h2 {
  font-size: 36px;
  margin-bottom: 10px;
  transition: all 300ms ease-in-out;
}
.meeting.current h2.available {
  color: #9ce051;
  font-weight: 400;
}
.meeting.current h3 {
  font-size: 28px;
  margin-bottom: 8px;
  transition: all 300ms ease-in-out;
}
.meeting.current h4 {
  font-size: 20px;
  transition: all 300ms ease-in-out;
}
.meeting.passed {
    opacity: 0.5 !important;
}

.meeting.passed h2,
.meeting.passed h3,
.meeting.passed h4 {
    color: #ffffff !important;
}
.meeting:nth-of-type(1) {
  transition-delay: 100ms;
}
.meeting:nth-of-type(2) {
  transition-delay: 150ms;
}
.meeting:nth-of-type(3) {
  transition-delay: 220ms;
}
.meeting:nth-of-type(4) {
  transition-delay: 280ms;
}
.meeting:nth-of-type(5),
.meeting:nth-of-type(6),
.meeting:nth-of-type(7),
.meeting:nth-of-type(8),
.meeting:nth-of-type(9) {
  transition-delay: 320ms;
}
.top.right {
  position: fixed;
  top: 36px;
  right: 36px;
  text-align: right;
}
.top.right h1 {
  font-size: 40px;
  font-weight: 500;
}
.top.right h2 {
  font-size: 32px;
}
.top.right h2.available {
  color: #9ce051;
}
.top.right h2.occupied {
  color: #e05151;
}
.bottom.right {
  position: fixed;
  bottom: 36px;
  right: 36px;
  text-align: right;
}
.bottom.right h1 {
  font-weight: 200;
  font-size: 24px;
}
.bottom.right h2 {
  font-weight: 300;
  font-size: 100px;
}

.top.right {
  text-align: center;
}

.conference-logo {
  display: block;
  width: 350px;
  height: auto;
  margin: 0 auto 2px auto;
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.meetings {
  position: absolute;
  left: -25px;
  top: 36px;
  width: 650px;
  padding-bottom: 50px;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
}

.meeting {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}



/* =========================================
   STATUS MEETING
========================================= */

/* Semua kartu meeting */
.meeting {
    position: relative;
    border-left: none !important;
}

/* Indikator kiri default: HIJAU */
.meeting::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #9ce051;
    transition: background-color 300ms ease;
}

/* Meeting terlewat: MERAH */
.meeting.passed::before {
    background-color: #e05151;
}

/* Meeting sedang berlangsung: MERAH */
.meeting.occupied-meeting::before {
    background-color: #ff3333;
    width: 8px;
}

/* Jangan redupkan kartu meeting terlewat */
.meeting.passed {
    opacity: 0.75 !important;
}

/* Tulisan meeting terlewat tetap putih */
.meeting.passed h2,
.meeting.passed h3,
.meeting.passed h4 {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* =========================================
   ROOM OCCUPIED
========================================= */

.top.right h2.occupied {
    color: #ff3b3b !important;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.35);
}

/* Kartu meeting aktif */
.meeting.occupied-meeting {
    background-color: #173f60 !important;
    opacity: 1 !important;
    box-shadow: 0 0 25px rgba(255, 40, 40, 0.25);
    z-index: 20;
}

/* Jam meeting aktif */
.meeting.occupied-meeting h3 {
    color: #ff7777 !important;
    font-weight: 500;
}

/* Judul meeting aktif */
.meeting.occupied-meeting h2 {
    color: #ff4545 !important;
    font-weight: 600;
}

/* Keterangan meeting aktif */
.meeting.occupied-meeting h4 {
    color: #ffffff !important;
    opacity: 1;
}

/* =========================================
   POSISI MEETING AKTIF
========================================= */

.meetings.in .meeting.current {
    transform: translateX(100px);
    opacity: 1;
}

.meetings .meeting.current:hover {
    transform: translateX(100px);
}

/* Nama ruang meeting di bawah logo */
.top.right h1 {
    font-weight: 700 !important;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}



/* =========================================
   KARTU MEETING — ROUNDED + MEETING AKTIF
   (override, taruh paling bawah)
========================================= */

/* semua kartu: sudut membulat + bayangan halus */
.meeting {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

/* kartu yang sedang berlangsung: lebih besar, spacing sendiri */
.meeting.current,
.meeting.occupied-meeting {
    height: auto;
    min-height: 190px;
    padding: 26px 30px 26px 58px;
    margin-top: 22px;
    margin-bottom: 26px;
    border-radius: 24px;
    box-shadow:
        0 16px 40px rgba(255, 60, 60, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* tipografi ikut membesar saat aktif */
.meeting.current h2,
.meeting.occupied-meeting h2 {
    font-size: 38px;
    width: 470px;
    margin-bottom: 12px;
}

.meeting.current h3,
.meeting.occupied-meeting h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.meeting.current h4,
.meeting.occupied-meeting h4 {
    font-size: 18px;
}

/* indikator kiri ikut membulat di kartu aktif */
.meeting.current::before,
.meeting.occupied-meeting::before {
    border-radius: 24px 0 0 24px;
}

/* kartu aktif saat ruangan kosong: aksen hijau, bukan merah */
.meeting.current.empty {
    box-shadow:
        0 16px 40px rgba(120, 220, 90, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.meeting.current.empty::before {
    background-color: #9ce051;
}

/* =========================================
   LIST LURUS VERTIKAL — kartu aktif lebih besar & spacing sendiri
   (override blok sebelumnya)
========================================= */

.meeting.current,
.meeting.occupied-meeting {
    min-height: 210px;
    padding: 30px 34px 30px 62px;
    margin-top: 30px;
    margin-bottom: 38px;
    border-radius: 26px;
}

.meeting.current h2,
.meeting.occupied-meeting h2 {
    font-size: 42px;
    width: 460px;
    margin-bottom: 14px;
}

.meeting.current h3,
.meeting.occupied-meeting h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.meeting.current h4,
.meeting.occupied-meeting h4 {
    font-size: 19px;
}

/* kartu aktif jangan nempel ke tepi kiri */
.meeting.current,
.meeting.occupied-meeting {
    margin-left: 0;
}

/* =========================================
   SEMBUNYIKAN SCROLLBAR (kiosk / layar sentuh)
   Scroll tetap jalan lewat touch drag.
========================================= */

html, body {
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* Edge / IE */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.meetings::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;                /* Chrome / Chromium (Pi) */
}

/* kartu aktif rata kiri (nempel tepi) */
.meeting.current,
.meeting.occupied-meeting {
    margin-left: -75px;
}

/* =========================================
   MODAL DETAIL MEETING
========================================= */

.modal-backdrop[hidden] { display: none; }

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(2, 6, 16, 0.72);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-card {
    position: relative;
    width: min(760px, 92vw);
    background: #0d2137;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 38px 44px 40px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    animation: modalIn 180ms ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover { background: rgba(255, 255, 255, 0.16); }

.modal-time {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #9ce051;
}

.modal-title {
    margin: 0 0 12px;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
}

.modal-date {
    margin: 0;
    font-size: 18px;
    color: #9aa4b2;
}
