/**
 * Price page — consultation schedule block (matches dark / primary theme).
 */

.royal-pc-wrap {
  position: relative;
  overflow: hidden;
}

.royal-pc-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(23, 84, 207, 0.45),
    rgba(34, 211, 238, 0.15),
    rgba(23, 84, 207, 0.25)
  );
  z-index: 0;
  pointer-events: none;
}

.royal-pc-inner {
  position: relative;
  z-index: 1;
  border-radius: 1.45rem;
  background: linear-gradient(
    165deg,
    rgba(30, 41, 59, 0.97) 0%,
    rgba(15, 23, 42, 0.98) 50%,
    rgba(17, 22, 33, 1) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.royal-pc-chip.is-selected {
  background: rgba(23, 84, 207, 0.25);
  border-color: rgba(23, 84, 207, 0.65) !important;
  color: #fff;
  box-shadow: 0 0 20px rgba(23, 84, 207, 0.2);
}

.royal-pc-chip:not(.is-selected):not(:disabled) {
  border-color: rgba(71, 85, 105, 0.6);
  background: rgba(15, 23, 42, 0.5);
  color: #cbd5e1;
}

.royal-pc-chip:not(.is-selected):not(:disabled):hover {
  border-color: rgba(23, 84, 207, 0.45);
  background: rgba(23, 84, 207, 0.08);
}

.royal-pc-service-tab {
  border: 1px solid rgba(71, 85, 105, 0.5);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
}

.royal-pc-service-tab.is-active {
  border-color: rgba(23, 84, 207, 0.7);
  background: linear-gradient(
    180deg,
    rgba(23, 84, 207, 0.35) 0%,
    rgba(15, 23, 42, 0.9) 100%
  );
  color: #fff;
  box-shadow: 0 0 24px rgba(23, 84, 207, 0.15);
}

.royal-pc-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(23, 84, 207, 0.12) 0%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
}

.royal-pc-submit {
  background: linear-gradient(
    135deg,
    #1754cf 0%,
    #1d4ed8 50%,
    #2563eb 100%
  );
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.royal-pc-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow:
    0 12px 32px rgba(23, 84, 207, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.royal-pc-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .royal-pc-service-tab {
    font-size: 0.75rem;
    padding: 0.5rem 0.35rem;
  }
}

/* Persian digit styling for calendar / time (Unicode ۰–۹ from JS) */
.royal-pc-cal-fa {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  font-feature-settings: "ss01";
  font-variant-numeric: tabular-nums;
}

/* فرم رزرو: پیام موفقیت/خطا — همیشه قابل مشاهده (حتی اگر Tailwind .hidden اعمال نشود) */
.royal-pc-feedback {
  display: none;
  margin-top: 1rem;
  text-align: right;
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(71, 85, 105, 0.75);
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
}

.royal-pc-feedback.is-visible {
  display: block !important;
}

.royal-pc-feedback.royal-pc-feedback--success {
  border-color: rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
  background: rgba(6, 78, 59, 0.35);
}

.royal-pc-feedback.royal-pc-feedback--warn {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fcd34d;
  background: rgba(120, 53, 15, 0.35);
}

.royal-pc-feedback.royal-pc-feedback--error {
  border-color: rgba(251, 113, 133, 0.55);
  color: #fda4af;
  background: rgba(136, 19, 55, 0.35);
}
