*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050914;
  color: #fff;
}

.kiosk-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050914;
}

.main-frame {
  width: 95vw;
  height: 90vh;
  display: flex;
  border-radius: 45px;
  border: 4px solid #00ffe0;
  box-shadow: 0 0 40px #00ffe0;
  overflow: hidden;
  animation: frameGlow 3s ease-in-out infinite alternate;
  position: relative;
}

@keyframes frameGlow {
  0% {
    box-shadow: 0 0 30px rgba(0, 255, 224, 0.5);
  }
  100% {
    box-shadow: 0 0 60px rgba(0, 255, 224, 0.9), 0 0 80px rgba(0, 255, 224, 0.3);
  }
}

/* ===== LEFT PANEL ===== */
.left-panel {
  flex: 0 0 65%;
  display: flex;
  flex-direction: column;
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
}

.clock-display {
  font-size: 70px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.date-display {
  font-size: 16px;
  color: #8a8f9f;
  font-weight: 400;
  margin-bottom: 8px;
}

.persons-display {
  font-size: 18px;
  color: #8a8f9f;
  margin-bottom: 30px;
}

.room-name {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 35px;
}

/* Status Box */
.status-box {
  width: 70%;
  min-width: 360px;
  height: 130px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 3px solid #00ffe0;
  border-radius: 0 30px 30px 0;
  padding: 20px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 255, 224, 0.1), 0 0 20px rgba(0, 255, 224, 0.2);
}

.status-box .status-available {
  font-size: 45px;
  font-weight: 700;
  color: #00ffe0;
  line-height: 1.1;
}

.status-box .status-duration {
  font-size: 18px;
  color: #c0c4d0;
  font-weight: 300;
  margin-top: 2px;
}

/* Book Button */
.book-btn {
  width: 220px;
  height: 60px;
  background: linear-gradient(135deg, #00e5a0, #00ffe0);
  border: none;
  border-radius: 30px;
  font-size: 22px;
  font-weight: 700;
  color: #050914;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 255, 224, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.book-btn:hover {
  box-shadow: 0 0 40px rgba(0, 255, 224, 0.7);
  transform: scale(1.03);
}

/* Bottom Icons */
.bottom-icons {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.icon-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #c0c4d0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #00ffe0;
  color: #00ffe0;
}

/* ===== RIGHT PANEL ===== */
.right-panel {
  flex: 0 0 35%;
  background: #020611;
  padding: 50px 30px 50px 40px;
  position: relative;
  overflow: hidden;
}

.timeline-title {
  font-size: 14px;
  font-weight: 600;
  color: #4a4f5f;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.timeline-container {
  position: relative;
  height: calc(100% - 50px);
}

#timelineMeetings {
  position: relative;
  height: 100%;
}

.timeline-line {
  position: absolute;
  left: 48px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-hour {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(-50%);
}

.hour-label {
  font-size: 12px;
  font-weight: 600;
  color: #4a4f5f;
  width: 40px;
  text-align: right;
  letter-spacing: 0.5px;
}

.hour-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Meeting Cards */
.meeting-card {
  position: absolute;
  left: 56px;
  right: 0;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.meeting-card.meeting-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #c0c4d0;
}

.meeting-card.meeting-white {
  background: rgba(255, 255, 255, 0.95);
  color: #0a0e1a;
}

.meeting-card .meeting-name {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
}

.meeting-card .meeting-time {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 1px;
}

/* Current Time Line */
.current-time-line {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.current-time-line .ct-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ffe0;
  box-shadow: 0 0 12px #00ffe0;
  flex-shrink: 0;
  margin-left: 43px;
}

.current-time-line .ct-line {
  flex: 1;
  height: 2px;
  background: #00ffe0;
  box-shadow: 0 0 12px #00ffe0;
}
