* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 35%),
    linear-gradient(135deg, #080808 0%, #161616 45%, #090909 100%);
  color: #f5f5f5;
}

.app {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 18px 42px;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

.eyebrow {
  margin: 0 0 10px;
  color: #d6b35a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.subtitle {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.5;
}

.status {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  color: #121212;
  background: linear-gradient(135deg, #f1d176, #a67c22);
  font-weight: 800;
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.card {
  min-height: 132px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.card .label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.card .value {
  margin-top: 14px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.card .hint {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

.panel {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.085);
}

.panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  background: #f1d176;
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.skeleton {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 860px) {
  .hero,
  .panel {
    flex-direction: column;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .app {
    padding: 14px;
  }

  .hero {
    padding: 22px;
  }
}

.bookings-panel {
  margin-top: 18px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.bookings-list {
  display: grid;
  gap: 12px;
}

.booking-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.booking-time {
  color: #f1d176;
  font-size: 18px;
  font-weight: 900;
}

.booking-title {
  font-size: 17px;
  font-weight: 800;
}

.booking-meta {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.4;
}

.booking-price {
  text-align: right;
  font-weight: 900;
  color: #f1d176;
}

.booking-status {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(241, 209, 118, 0.14);
  color: #f1d176;
  font-size: 12px;
  font-weight: 800;
}

.booking-empty {
  padding: 18px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 640px) {
  .booking-item {
    grid-template-columns: 1fr;
  }

  .booking-price {
    text-align: left;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.bookings-panel.secondary {
  background: rgba(255, 255, 255, 0.045);
}

.booking-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.action-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f1d176;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.action-btn.danger {
  background: rgba(255, 90, 90, 0.18);
  color: #ff8b8b;
  border: 1px solid rgba(255, 90, 90, 0.28);
}

.status-pending {
  color: #ffd37a;
  background: rgba(255, 211, 122, 0.12);
}

.status-confirmed {
  color: #8dffb0;
  background: rgba(141, 255, 176, 0.12);
}

.status-rescheduled {
  color: #9bc7ff;
  background: rgba(155, 199, 255, 0.12);
}

@media (max-width: 640px) {
  .booking-side {
    justify-items: start;
  }

  .booking-actions {
    justify-content: flex-start;
  }
}

.system {
  line-height: 1.5;
}
