/* Contact / support ticket page */
.pp-contact {
  padding: 2.5rem 0 4.5rem;
}

.pp-contact__wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-family: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
}

.pp-contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pp-contact__cat {
  text-align: left;
  border: 1px solid #e8ecf3;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(25, 15, 53, 0.04);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.pp-contact__cat i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, rgba(255, 73, 183, 0.12), rgba(89, 51, 255, 0.14));
  color: #6a3dff;
  font-size: 0.95rem;
}

.pp-contact__cat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 750;
  color: #0b0c1b;
  margin-bottom: 0.25rem;
}

.pp-contact__cat span {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 560;
  line-height: 1.4;
}

.pp-contact__cat:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 61, 255, 0.3);
}

.pp-contact__cat.is-on {
  border-color: rgba(106, 61, 255, 0.55);
  box-shadow: 0 12px 30px rgba(89, 51, 255, 0.12);
  background: linear-gradient(180deg, #fbf8ff, #fff);
}

@media (max-width: 900px) {
  .pp-contact__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pp-contact__grid { grid-template-columns: 1fr; }
}

.pp-contact__alert {
  border-radius: 16px;
  padding: 1.05rem 1.2rem;
  margin-bottom: 1.25rem;
}

.pp-contact__alert strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.pp-contact__alert p { margin: 0.35rem 0 0; color: inherit; font-size: 0.95rem; }
.pp-contact__alert a { color: inherit; font-weight: 700; }

.pp-contact__alert--ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.pp-contact__alert--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.pp-contact__ref code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.pp-contact__card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: 0 12px 40px rgba(25, 15, 53, 0.05);
  margin-bottom: 1.5rem;
}

.pp-contact__card-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b0c1b;
}

.pp-contact__card-head p {
  margin: 0 0 1.25rem;
  color: #64748b;
  font-size: 0.95rem;
}

.pp-contact__card-head a { color: #6a3dff; font-weight: 700; }

.pp-contact__form label {
  display: block;
  margin-bottom: 0.95rem;
}

.pp-contact__form label > span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.pp-contact__form input,
.pp-contact__form textarea,
.pp-contact__form select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: #0b0c1b;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pp-contact__form input:focus,
.pp-contact__form textarea:focus,
.pp-contact__form select:focus {
  outline: none;
  border-color: rgba(106, 61, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(106, 61, 255, 0.1);
}

.pp-contact__form textarea { resize: vertical; min-height: 140px; }

.pp-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .pp-contact__row { grid-template-columns: 1fr; }
}

.pp-contact__pay {
  margin: 0 0 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff7fb;
  border: 1px solid #f9d0e8;
}

.pp-contact__pay-title {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 750;
  color: #9d174d;
}

.pp-contact__pay-title em {
  font-style: normal;
  font-weight: 560;
  color: #be185d;
  opacity: 0.85;
}

.pp-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.35rem;
}

.pp-contact__submit {
  border: 0;
  cursor: pointer;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  color: #fff;
  background: linear-gradient(135deg, #ff34ff 0%, #5933ff 50%, #1407d3 100%);
  box-shadow: 0 12px 28px rgba(89, 51, 255, 0.3);
}

.pp-contact__submit:hover { filter: brightness(1.06); }

.pp-contact__dash {
  font-weight: 700;
  font-size: 0.9rem;
  color: #6a3dff;
  text-decoration: none;
}

.pp-contact__dash:hover { text-decoration: underline; }

.pp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pp-contact__side {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pp-contact__side > div {
  background: #f7f5ff;
  border: 1px solid #ebe6ff;
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
}

.pp-contact__side h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b0c1b;
}

.pp-contact__side ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pp-contact__side li { margin-bottom: 0.4rem; }

@media (max-width: 800px) {
  .pp-contact__side { grid-template-columns: 1fr; }
}

.pp-contact__cms {
  margin-top: 0.5rem;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid #e8ecf3;
  background: #fff;
}

/* ==========================================================================
   DARK MODE (contact page). No design tokens here, so override directly.
   ========================================================================== */
html[data-theme="dark"] .pp-contact__card,
html[data-theme="dark"] .pp-contact__cat,
html[data-theme="dark"] .pp-contact__cms,
html[data-theme="dark"] .pp-contact__form select,
html[data-theme="dark"] .pp-contact__form input,
html[data-theme="dark"] .pp-contact__form textarea {
  background: #171426;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e9e7f2;
}
html[data-theme="dark"] .pp-contact__pay { background: #1b1830; }
html[data-theme="dark"] .pp-contact__side > div { background: #151223; }
html[data-theme="dark"] .pp-contact__cat.is-on { background: linear-gradient(180deg, #1f1b33, #171426); }
html[data-theme="dark"] .pp-contact__card-head h2,
html[data-theme="dark"] .pp-contact__cat strong,
html[data-theme="dark"] .pp-contact__side h3,
html[data-theme="dark"] .pp-contact__form select { color: #f2f0fa; }
html[data-theme="dark"] .pp-contact__form label > span { color: #c7c3d6; }
html[data-theme="dark"] .pp-contact__form input::placeholder,
html[data-theme="dark"] .pp-contact__form textarea::placeholder { color: #8b86a0; }
html[data-theme="dark"] .pp-contact__alert--ok { background: #14251c; color: #7ee0a3; }
html[data-theme="dark"] .pp-contact__alert--err { background: #2a1717; color: #ff9a9a; }
