/* Activation / Rental switch (buy page + activations page) */
[data-pn-panel][hidden],
.pn-vn-mobile-bar__btn[hidden],
.pn-mode-switch__hint[hidden] {
  display: none !important;
}

.pn-mode-switch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin: -0.5rem 0 1.5rem;
}

.pn-mode-switch {
  display: inline-flex;
  padding: 0.3rem;
  gap: 0.25rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 100%;
}

.pn-mode-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 9rem;
  min-height: 2.6rem;
  padding: 0.45rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pn-mode-switch__btn:hover { color: #0f172a; }

.pn-mode-switch__btn.is-active {
  background: var(--pn-gradient, linear-gradient(135deg, #14b8a6, #0ea5e9));
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.3);
}

.pn-mode-switch__btn:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

body.theme-dark .pn-mode-switch { background: rgba(148, 163, 184, 0.12); border-color: rgba(148, 163, 184, 0.18); }
body.theme-dark .pn-mode-switch__btn { color: #cbd5e1; }
body.theme-dark .pn-mode-switch__btn:hover { color: #fff; }
body.theme-dark .pn-mode-switch__btn.is-active { color: #fff; }

@media (max-width: 575.98px) {
  .pn-mode-switch-wrap { margin-top: 0; }
  .pn-mode-switch { display: flex; width: 100%; }
  .pn-mode-switch__btn { flex: 1; min-width: 0; padding: 0.45rem 0.5rem; }
  .pn-mode-switch__hint { text-align: center; padding: 0 0.5rem; }
}

/* Buy panel */
.pn-rent-table-wrap { max-height: 560px; overflow-y: auto; }

/* Above site chrome (chat, scroll-top, sticky bars) so Cancel / Rent stay clickable */
#rentConfirmModal,
#rentExtendModal {
  z-index: 100050;
}
body.modal-open > .modal-backdrop {
  z-index: 100040;
}

.pn-rent-svc {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.pn-rent-svc img,
.pn-rent-svc__ph {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f1f5f9;
}

.pn-rent-svc__ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #475569;
}

.pn-rent-svc__name { font-weight: 600; overflow-wrap: anywhere; }

/* ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ How rentals work (side panel) ÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ */
.pn-rent-info {
  position: relative;
  overflow: hidden;
  border-radius: var(--pn-radius-lg, 1.25rem);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(14, 165, 233, 0.14), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(20, 184, 166, 0.12), transparent 50%),
    var(--pn-bg-elevated, #fff);
  border: 1px solid rgba(14, 165, 233, 0.14);
  box-shadow: var(--pn-shadow-sm, 0 2px 8px rgba(15, 23, 42, 0.06));
  padding: 1.35rem 1.25rem 1.25rem;
}

.pn-rent-info__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.pn-rent-info__badge {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: var(--pn-gradient, linear-gradient(135deg, #14b8a6, #0ea5e9));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.28);
}

.pn-rent-info__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pn-slate-900, #0f172a);
}

.pn-rent-info__lead {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--pn-text-muted, #64748b);
}

.pn-rent-steps {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.pn-rent-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.8rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pn-rent-step:hover {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.08);
  transform: translateY(-1px);
}

.pn-rent-step__icon {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  font-size: 1.05rem;
}

.pn-rent-step__icon--warn {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.pn-rent-step__title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pn-slate-900, #0f172a);
  margin-bottom: 0.15rem;
}

.pn-rent-step__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--pn-text-muted, #64748b);
}

.pn-rent-info__cta {
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  border: 0;
  border-radius: 0.85rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--pn-gradient, linear-gradient(135deg, #14b8a6, #0ea5e9));
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.28);
}

.pn-rent-info__cta:hover {
  color: #fff !important;
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.pn-rent-info__link {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
}

.pn-rent-info__link:hover { text-decoration: underline; }

body.theme-dark .pn-rent-info {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(14, 165, 233, 0.18), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(20, 184, 166, 0.12), transparent 50%),
    #111827;
  border-color: rgba(148, 163, 184, 0.16);
}
body.theme-dark .pn-rent-info__title,
body.theme-dark .pn-rent-step__title { color: #f1f5f9; }
body.theme-dark .pn-rent-info__lead,
body.theme-dark .pn-rent-step__text { color: #94a3b8; }
body.theme-dark .pn-rent-step {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.12);
}
body.theme-dark .pn-rent-info__link { color: #38bdf8; }

/* ÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂ Inline rental confirm (mirrors activation pn-price-panel) ÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂ */
.pn-rent-confirm-panel {
  margin-top: 1.35rem;
}

.pn-rent-confirm-inline {
  display: grid;
  gap: 0;
  border: 1.5px solid var(--vn-card-border, #e5eaf0);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.pn-rent-confirm-inline__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px dashed #eef2f6;
}

.pn-rent-confirm-inline__row:last-child { border-bottom: 0; }

.pn-rent-confirm-inline__row--price {
  background: #f8fafc;
}

.pn-rent-confirm-inline__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.pn-rent-confirm-inline__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--vn-text, #0f172a);
  text-align: end;
  overflow-wrap: anywhere;
}

.pn-rent-confirm-inline__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0ea5e9;
  letter-spacing: -0.02em;
}

body.theme-dark .pn-rent-confirm-inline {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.18);
}

body.theme-dark .pn-rent-confirm-inline__row { border-bottom-color: rgba(148, 163, 184, 0.12); }
body.theme-dark .pn-rent-confirm-inline__row--price { background: rgba(15, 23, 42, 0.35); }
body.theme-dark .pn-rent-confirm-inline__label { color: #94a3b8; }
body.theme-dark .pn-rent-confirm-inline__value { color: #e2e8f0; }

/* Legacy modal styles kept for any cached markup */
.pn-rent-confirm-dialog { max-width: 440px; }

.pn-rent-confirm {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.pn-rent-confirm__hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1.2rem;
  color: #fff;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
    var(--pn-gradient, linear-gradient(135deg, #14b8a6 0%, #0ea5e9 55%, #6366f1 100%));
}

.pn-rent-confirm__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.pn-rent-confirm__hero .modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.pn-rent-confirm__sub {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  opacity: 0.92;
  max-width: 20rem;
}

.pn-rent-confirm__close {
  margin: 0;
  opacity: 0.9;
}

.pn-rent-confirm__body { padding: 1.25rem 1.35rem 0.5rem; }

.pn-rent-confirm__summary {
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem 0.25rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.06), rgba(20, 184, 166, 0.04));
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.pn-rent-confirm__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.pn-rent-confirm__row:last-child { border-bottom: 0; }

.pn-rent-confirm__row--price {
  margin-top: 0.15rem;
  border-bottom: 0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
}

.pn-rent-confirm__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--pn-text-muted, #64748b);
}

.pn-rent-confirm__label i { color: #0ea5e9; }

.pn-rent-confirm__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pn-slate-900, #0f172a);
  text-align: end;
  overflow-wrap: anywhere;
}

.pn-rent-confirm__price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--pn-gradient, linear-gradient(135deg, #14b8a6, #0ea5e9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pn-rent-confirm__note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #92400e;
  font-size: 0.84rem;
  line-height: 1.45;
}

.pn-rent-confirm__note-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

.pn-rent-confirm__footer {
  border-top: 0;
  padding: 0.85rem 1.35rem 1.25rem;
  gap: 0.6rem;
}

.pn-rent-confirm__cancel {
  min-height: 2.7rem;
  border-radius: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #334155;
}

.pn-rent-confirm__cancel:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.2);
}

.pn-rent-confirm__submit {
  min-height: 2.7rem;
  min-width: 9.5rem;
  border: 0;
  border-radius: 0.8rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--pn-gradient, linear-gradient(135deg, #14b8a6, #0ea5e9));
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.3);
}

.pn-rent-confirm__submit:hover {
  color: #fff !important;
  filter: brightness(1.05);
}

body.theme-dark .pn-rent-confirm__summary {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.16);
}
body.theme-dark .pn-rent-confirm__row--price { background: rgba(30, 41, 59, 0.8); }
body.theme-dark .pn-rent-confirm__value { color: #f1f5f9; }
body.theme-dark .pn-rent-confirm__note {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  color: #fcd34d;
}
body.theme-dark .pn-rent-confirm__cancel {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

html[dir='rtl'] .pn-rent-confirm__value,
html[dir='rtl'] .pn-rent-confirm__price { text-align: start; }

/* My rentals list (activations page) */
.pn-rentals-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pn-rentals-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

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

.pn-rental-card {
  background: var(--pn-surface, #fff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.theme-dark .pn-rental-card { background: #111827; border-color: rgba(148, 163, 184, 0.15); }

.pn-rental-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }

.pn-rental-card__phone {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pn-rental-card__meta { font-size: 0.85rem; color: #64748b; display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; align-items: center; }
.pn-rental-card__meta img { width: 18px; height: auto; border-radius: 2px; vertical-align: -3px; }

.pn-rental-badge {
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
}

.pn-rental-badge--active { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.pn-rental-badge--expired { background: rgba(100, 116, 139, 0.15); color: #475569; }
.pn-rental-badge--cancelled { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.pn-rental-badge--cancelling { background: rgba(245, 158, 11, 0.15); color: #b45309; }
body.theme-dark .pn-rental-badge--active { color: #4ade80; }
body.theme-dark .pn-rental-badge--expired { color: #cbd5e1; }
body.theme-dark .pn-rental-badge--cancelled { color: #fca5a5; }
body.theme-dark .pn-rental-badge--cancelling { color: #fcd34d; }
body.theme-dark .pn-rent-extend-price { background: rgba(148, 163, 184, 0.1) !important; }
[dir="rtl"] #rentServicesTable .text-end { text-align: left !important; }

.pn-rental-card__timer { font-size: 0.85rem; font-weight: 600; }
.pn-rental-card__timer--warn { color: #b45309; }

.pn-rental-msgs {
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.04);
  padding: 0.6rem;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.theme-dark .pn-rental-msgs { background: rgba(148, 163, 184, 0.08); }

.pn-rental-msg { font-size: 0.88rem; }
.pn-rental-msg__top { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; color: #64748b; }
.pn-rental-msg__text { overflow-wrap: anywhere; }

.pn-rental-code {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.1rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
  border: 0;
  cursor: pointer;
}

body.theme-dark .pn-rental-code { color: #4ade80; }

.pn-rental-msgs__empty { font-size: 0.85rem; color: #64748b; text-align: center; padding: 0.5rem; }

.pn-rental-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pn-rental-card__actions .btn { flex: 1 1 auto; }

.pn-copy-btn {
  border: 0;
  background: transparent;
  color: #0ea5e9;
  padding: 0.1rem 0.3rem;
  cursor: pointer;
}

.pn-rentals-empty { text-align: center; padding: 3rem 1rem; color: #64748b; }
.pn-rentals-empty i { font-size: 3rem; color: #0ea5e9; }

/* Multi-route chips - same pattern as activations, no vendor names */
.pn-rent-confirm__routes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.35rem 0 0.15rem;
}
.pn-rent-confirm__routes .pn-rent-confirm__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}
.pn-price-routes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.pn-price-route {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  background: #dbeafe;
  color: #1d4ed8;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.pn-price-route:hover {
  background: #bfdbfe;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.12);
}
.pn-price-route.is-active {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.28);
}
.pn-price-route__main {
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.pn-price-route__label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}
.pn-price-route__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.72);
}
.pn-price-route.is-active .pn-price-route__badge {
  color: #1e40af;
  background: rgba(255, 255, 255, 0.92);
}
.pn-price-route__price {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
}
body.theme-dark .pn-price-route {
  background: rgba(59, 130, 246, 0.22);
  color: #93c5fd;
}
body.theme-dark .pn-price-route.is-active {
  background: #2563eb;
  color: #fff;
}

/* Browse mode: By country vs By app - no vendor names */
.pn-rent-mode {
  display: inline-flex;
  padding: 0.25rem;
  gap: 0.25rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 100%;
}
.pn-rent-mode__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.pn-rent-mode__btn.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}
.pn-rent-mode__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
body.theme-dark .pn-rent-mode {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.18);
}
body.theme-dark .pn-rent-mode__btn { color: #94a3b8; }
body.theme-dark .pn-rent-mode__btn.is-active {
  background: #1e293b;
  color: #f8fafc;
}

.pn-rent-catalog-section .pn-vn-section__title {
  font-size: 1rem;
  margin: 0;
}
/* By-app only: tighter gap between country grid → search → app grid (do not affect By country). */
.pn-rent-app-countries {
  margin-bottom: 0.25rem;
}
.pn-rent-app-countries .d-flex.justify-content-center {
  margin-top: 0.35rem !important;
}
.pn-rent-app-search-slot {
  margin: 0.35rem 0 0.45rem;
}
.pn-rent-app-search-slot .form-label {
  margin-bottom: 0.25rem;
}
.pn-rent-app-services {
  margin-top: 0.25rem !important;
  padding-top: 0;
  scroll-margin-top: 4.5rem;
}
.pn-rent-app-services .pn-vn-section__head {
  margin-bottom: 0.45rem !important;
}

/*
 * By-app service cards — match activation /virtual-num cards:
 * bordered tile, icon or coloured letter badge, name + meta, Rent.
 */
#rentAppServiceGrid.pn-rent-svc-grid,
#rentAppServiceGrid.pn-vn-svc-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 0.55rem !important;
}
#rentAppServiceGrid .pn-rent-svc-card,
#rentAppServiceGrid .pn-vn-svc-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  width: 100%;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
#rentAppServiceGrid .pn-vn-svc-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.07);
}
#rentAppServiceGrid .pn-vn-svc-card__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
#rentAppServiceGrid .pn-vn-svc-card__letter {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  border: none;
  /* solid colour set inline via JS (activation-style palette) */
  background: #0ea5e9;
}
#rentAppServiceGrid .pn-vn-svc-card__body {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
#rentAppServiceGrid .pn-vn-svc-card__name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: normal;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  color: #0f172a;
}
#rentAppServiceGrid .pn-vn-svc-card__meta {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.12rem;
  font-size: 0.75rem;
  color: #64748b;
}
#rentAppServiceGrid .pn-rent-svc-card__rent,
#rentAppServiceGrid .pn-vn-pill--buy {
  flex: 0 0 auto;
  margin-left: 0.25rem;
  white-space: nowrap;
}
.pn-rent-svc-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
  margin-left: auto;
}
@media (max-width: 575.98px) {
  #rentAppServiceGrid.pn-rent-svc-grid,
  #rentAppServiceGrid.pn-vn-svc-grid {
    grid-template-columns: 1fr !important;
  }
}
body.theme-dark #rentAppServiceGrid .pn-vn-svc-card {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
body.theme-dark #rentAppServiceGrid .pn-vn-svc-card__name { color: #f8fafc; }
body.theme-dark #rentAppServiceGrid .pn-vn-svc-card__meta { color: #94a3b8; }
body.theme-dark #rentAppServiceGrid .pn-vn-svc-card__icon {
  background: #0f172a;
  border-color: #334155;
}
.pn-rent-country-grid .pn-vn-country-card__flag-fallback {
  color: #64748b;
  font-size: 1rem;
}
#rentCatalogEmpty[hidden] { display: none !important; }

.pn-rent-confirm-country {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: flex-end;
}
.pn-rent-confirm-country__flag {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1;
}
.pn-rent-confirm-country__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
}
.pn-rent-confirm-country__flag .flag-icon,
.pn-rent-confirm-country__flag .vn-flag-emoji {
  margin: 0 !important;
}

/* Distinct By-country vs By-app surfaces */
.pn-rent-card--country {
  border-top: 3px solid #0ea5e9 !important;
}
.pn-rent-card--app {
  border-top: 3px solid #8b5cf6 !important;
}
.pn-rent-card--country .pn-rent-mode__btn.is-active {
  color: #0369a1;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25), 0 1px 4px rgba(15, 23, 42, 0.08);
}
.pn-rent-card--app .pn-rent-mode__btn.is-active {
  color: #6d28d9;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 1px 4px rgba(15, 23, 42, 0.08);
}
.pn-rent-card--country #rentModeHint { color: #0369a1; }
.pn-rent-card--app #rentModeHint { color: #6d28d9; }
