:root{
  --rdp-accent: #16a34a;
  --rdp-dark: #0f172a;
  --rdp-bg: #f6f8fb;
}

html, body {
  background: var(--rdp-bg);
}

.rdp-app {
  color: var(--rdp-dark);
}

.rdp-topbar {
  background: linear-gradient(135deg, var(--rdp-dark), #111827);
  box-shadow: 0 12px 36px rgba(15, 23, 42, .16);
}

.rdp-brand {
  color: #fff;
}

.rdp-brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
}

.rdp-brand-fallback {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 800;
}

.rdp-hero {
  background: #fff;
  border-radius: 24px;
  position: relative;
}

.rdp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(22,163,74,.10), transparent 35%),
    radial-gradient(circle at bottom left, rgba(59,130,246,.08), transparent 35%);
}

.rdp-hero .card-body,
.rdp-card,
.rdp-sidebar {
  position: relative;
}

.rdp-hero-stats,
.rdp-summary,
.rdp-summary-box {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, .08);
}

.rdp-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
}

.rdp-progress .progress-bar {
  background: linear-gradient(90deg, var(--rdp-accent), #22c55e);
}

.rdp-legend .rdp-dot {
  margin-right: 6px;
}

.rdp-dot.free { color: #16a34a; }
.rdp-dot.selected { color: #2563eb; }
.rdp-dot.reserved { color: #ea580c; }
.rdp-dot.paid { color: #7c3aed; }

.rdp-number {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 18px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: .02em;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
  padding: 8px;
}

.rdp-number:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15,23,42,.12);
}

.rdp-number.free {
  color: #064e3b;
  background: linear-gradient(180deg, #dcfce7, #bbf7d0);
  border: 2px solid rgba(22,163,74,.42);
}

.rdp-number.reserved {
  color: #7c2d12;
  background: linear-gradient(180deg, #fed7aa, #fb923c);
  border: 2px solid rgba(234,88,12,.55);
}

.rdp-number.paid {
  color: #312e81;
  background: linear-gradient(180deg, #c7d2fe, #818cf8);
  border: 2px solid rgba(124,58,237,.42);
}

.rdp-number.selected {
  background: linear-gradient(180deg, #0f766e, #14b8a6);
  color: #fff;
  border: 2px solid rgba(255,255,255,.28);
}

.rdp-sidebar {
  border-radius: 24px;
}

.rdp-sidebar-icon {
  width: 42px;
  height: 42px;
  background: rgba(22,163,74,.12);
  color: var(--rdp-accent);
  font-size: 1.1rem;
}

.rdp-mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1040;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(15,23,42,.16);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.rdp-skeleton {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: linear-gradient(90deg, #e5e7eb, #f3f4f6, #e5e7eb);
  background-size: 200% 100%;
  animation: rdp-shimmer 1.4s ease infinite;
}

@keyframes rdp-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.rdp-modal-icon,
.rdp-ticket-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--rdp-accent), #22c55e);
  box-shadow: 0 10px 24px rgba(22,163,74,.28);
}

@media (max-width: 991.98px) {
  .rdp-mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 108px;
  }
}

@media (min-width: 992px) {
  .rdp-mobile-bar {
    display: none;
  }
}


.rdp-number-label {
  font-size: 1rem;
}

.rdp-number-client {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  opacity: .96;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
