/* ============================================================
   Pro Feature Locked Pages  (Analytics · Slot Manager)
   ============================================================ */

.ndp-pro-page {
  font-family: "Montserrat", sans-serif;
  color: #142338;
  margin-top: 20px;
  max-width: 1320px;
}

/* ── Page header ─────────────────────────────────────────── */

.ndp-pro-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 24px;
}

.ndp-pro-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ndp-pro-page-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.ndp-pro-header-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.ndp-pro-subtitle {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.ndp-pro-desc {
  margin: 0 0 18px;
  max-width: 580px;
  font-size: 14px;
  line-height: 1.75;
  color: #5e6c84;
}

.ndp-pro-checks {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.ndp-pro-checks span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
}

.ndp-pro-checks span::before {
  content: "";
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 118, 110, 0.5);
  background: rgba(15, 118, 110, 0.1)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='%230f766e' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / 14px;
  flex-shrink: 0;
}

/* Top-right Pro Feature card */

.ndp-pro-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: rgba(124, 58, 237, 0.04);
  min-width: 230px;
  max-width: 270px;
  flex-shrink: 0;
}

.ndp-pro-feature-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ndp-pro-feature-card-icon .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.ndp-pro-feature-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 5px;
}

.ndp-pro-feature-card p {
  margin: 0;
  font-size: 12px;
  color: #5e6c84;
  line-height: 1.55;
}

/* ── Fake UI wrapper ─────────────────────────────────────── */

.ndp-fake-ui-wrap {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: #fff;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

/* Time-period / day tabs */

.ndp-fake-tabs-row {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.ndp-day-tabs {
  justify-content: flex-start;
}

.ndp-fake-tab {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: default;
  user-select: none;
  border: 1px solid transparent;
}

.ndp-fake-tab-active {
  background: #0f766e;
  color: #fff;
}

.ndp-tab-closed {
  color: #94a3b8;
  text-decoration: line-through;
}

/* Stats row */

.ndp-fake-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.ndp-fake-stat {
  padding: 18px 20px;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.ndp-fake-stat:last-child {
  border-right: 0;
}

.ndp-fake-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.ndp-fake-stat-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.1;
}

.ndp-val-green { color: #0f766e; }
.ndp-val-red   { color: #b42318; }

.ndp-fake-stat-sub {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

/* Charts row (two equal columns) */

.ndp-fake-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.ndp-fake-chart-panel {
  padding: 18px 20px;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.ndp-fake-chart-panel:last-child {
  border-right: 0;
}

.ndp-fake-chart-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.ndp-fake-chart-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ndp-fake-chart-title-wrap .ndp-fake-chart-title {
  margin: 0;
}

.ndp-fake-peak-badge {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Vertical bar chart */

.ndp-fake-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 110px;
  padding-bottom: 0;
}

.ndp-fake-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transition: none;
}

.ndp-bar-green        { background: rgba(15, 118, 110, 0.18); }
.ndp-bar-green.ndp-bar-mid    { background: rgba(15, 118, 110, 0.45); }
.ndp-bar-green.ndp-bar-strong { background: #0f766e; }
.ndp-bar-blue         { background: rgba(59, 130, 246, 0.18); }
.ndp-bar-blue.ndp-bar-mid     { background: rgba(59, 130, 246, 0.45); }
.ndp-bar-blue.ndp-bar-strong  { background: #3b82f6; }

.ndp-fake-x-labels {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.ndp-fake-x-labels span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: #94a3b8;
}

.ndp-x-labels-dense span {
  font-size: 9px;
}

/* Bottom data row */

.ndp-fake-data-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
}

.ndp-fake-data-card {
  padding: 18px 20px;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.ndp-fake-data-card:last-child {
  border-right: 0;
}

.ndp-fake-section-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

/* Mini table in bottom row */

.ndp-fake-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.ndp-fake-table th {
  text-align: left;
  padding: 5px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.ndp-fake-table td {
  padding: 8px 6px;
  color: #334155;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  vertical-align: middle;
}

/* Fake badges inside the table / elsewhere */

.ndp-fake-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ndp-badge-green  { background: rgba(15, 118, 110, 0.12); color: #0a5c56; }
.ndp-badge-teal   { background: rgba(14, 165, 233, 0.12); color: #0369a1; }
.ndp-badge-purple { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
.ndp-badge-slate  { background: rgba(100, 116, 139, 0.12); color: #475569; }

/* Donut chart */

.ndp-fake-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}

.ndp-fake-donut {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(#0f766e 0% 67%, #e2e8f0 67% 100%);
  position: relative;
}

.ndp-fake-donut::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #fff;
}

.ndp-fake-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.ndp-fake-legend-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #334155;
}

.ndp-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ndp-dot-green { background: #0f766e; }
.ndp-dot-slate { background: #e2e8f0; border: 1px solid #cbd5e1; }
.ndp-dot-teal  { background: #0ea5e9; }

/* Horizontal bar chart */

.ndp-fake-hbars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.ndp-fake-hbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.ndp-fake-hbar-label {
  width: 44px;
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}

.ndp-fake-hbar-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.ndp-fake-hbar-fill {
  height: 100%;
  border-radius: 999px;
}

.ndp-hbar-teal { background: #0f766e; }

.ndp-fake-hbar-val {
  width: 16px;
  text-align: right;
  font-weight: 700;
  color: #334155;
  flex-shrink: 0;
}

/* ── Slot Manager fake UI ────────────────────────────────── */

.ndp-fake-slot-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}

.ndp-fake-slot-main {
  padding: 20px;
  border-right: 1px solid rgba(15, 23, 42, 0.07);
}

.ndp-fake-slot-sidebar {
  padding: 20px;
}

.ndp-fake-slot-section {
  margin-bottom: 22px;
}

.ndp-fake-slot-section:last-child {
  margin-bottom: 0;
}

.ndp-fake-slot-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #0f172a;
}

.ndp-fake-slot-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.ndp-fake-slot-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
}

.ndp-fake-slot-row:last-child {
  border-bottom: 0;
}

.ndp-slot-row-blocked {
  background: rgba(15, 23, 42, 0.02);
}

.ndp-slot-time {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  min-width: 120px;
}

.ndp-slot-cap {
  font-size: 12px;
  color: #64748b;
  flex: 1;
}

.ndp-slot-dot {
  font-size: 10px;
  flex-shrink: 0;
}

.ndp-dot-open    { color: #22c55e; }
.ndp-dot-blocked { color: #94a3b8; }

.ndp-fake-limit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  font-size: 13px;
  color: #334155;
}

.ndp-fake-limit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
}

/* Blocked dates list */

.ndp-fake-blocked-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ndp-fake-blocked-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(248, 250, 252, 0.8);
}

.ndp-blocked-date {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.ndp-blocked-label {
  font-size: 11px;
  color: #64748b;
}

.ndp-fake-remove {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  cursor: default;
}

/* Recurring rules list */

.ndp-fake-recurring-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ndp-fake-recurring-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(248, 250, 252, 0.8);
}

.ndp-recurring-note {
  font-size: 11px;
  color: #64748b;
}

/* ── Lock overlay ────────────────────────────────────────── */

.ndp-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(1px);
}

.ndp-lock-card {
  background: #fff;
  border-radius: 22px;
  box-shadow:
    0 2px 0 rgba(124, 58, 237, 0.1),
    0 24px 60px rgba(15, 23, 42, 0.2);
  padding: 36px 40px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.ndp-lock-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
  border: 2px solid rgba(124, 58, 237, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.ndp-lock-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.ndp-lock-card p {
  margin: 0 0 22px;
  font-size: 13px;
  color: #5e6c84;
  line-height: 1.65;
}

/* ── Upgrade button ──────────────────────────────────────── */

.ndp-upgrade-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.32);
  transition: all 0.18s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ndp-upgrade-btn .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 1;
}

.ndp-upgrade-btn:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.42);
  transform: translateY(-1px);
}

/* ── Feature highlights ──────────────────────────────────── */

.ndp-feature-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.ndp-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.ndp-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ndp-feature-icon .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.ndp-icon-green  { background: rgba(15, 118, 110, 0.12); color: #0f766e; }
.ndp-icon-blue   { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.ndp-icon-purple { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
.ndp-icon-teal   { background: rgba(14, 165, 233, 0.12); color: #0284c7; }

.ndp-feature-text h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.ndp-feature-text p {
  margin: 0;
  font-size: 12px;
  color: #5e6c84;
  line-height: 1.65;
}

/* ── Bottom CTA bar ──────────────────────────────────────── */

.ndp-bottom-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.07) 0%, rgba(109, 40, 217, 0.03) 100%);
  border: 1px solid rgba(124, 58, 237, 0.13);
  margin-bottom: 30px;
}

.ndp-bottom-cta-icon {
  font-size: 28px;
  width: 28px !important;
  height: 28px !important;
  color: #7c3aed;
  flex-shrink: 0;
}

.ndp-bottom-cta-copy {
  flex: 1;
}

.ndp-bottom-cta-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.ndp-bottom-cta-copy p {
  margin: 0;
  font-size: 13px;
  color: #5e6c84;
}

/* ── Sidebar menu PRO badge ──────────────────────────────── */
/* Injected globally via admin_head — see admin-menu.php */

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1200px) {
  .ndp-fake-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .ndp-fake-stats .ndp-fake-stat:nth-child(3) {
    border-right: 0;
  }

  .ndp-feature-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .ndp-pro-header {
    flex-direction: column;
  }

  .ndp-pro-feature-card {
    max-width: 100%;
  }

  .ndp-fake-data-row {
    grid-template-columns: 1fr 1fr;
  }

  .ndp-fake-data-card.ndp-data-card-wide {
    grid-column: 1 / -1;
  }

  .ndp-fake-slot-layout {
    grid-template-columns: 1fr;
  }

  .ndp-fake-slot-main {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  }
}

@media (max-width: 782px) {
  .ndp-fake-charts-row {
    grid-template-columns: 1fr;
  }

  .ndp-fake-chart-panel:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  }

  .ndp-fake-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ndp-fake-stats .ndp-fake-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .ndp-feature-highlights {
    grid-template-columns: 1fr;
  }

  .ndp-bottom-cta {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .ndp-fake-data-row {
    grid-template-columns: 1fr;
  }
}
