/* ==========================================================================
   Subscriber account panel
   --------------------------------------------------------------------------
   Layered on theme.css + panel.css; only what is specific to a customer's own
   view of their subscription lives here.
   ========================================================================== */

/* The plan tiles a subscriber chooses between. They are rendered by
   account.js into `.plan-tile`, so the grid lives on that element itself
   rather than on a wrapper. */
.plan-tile {
  display: flex; flex-direction: column; gap: 7px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color var(--t), background var(--t);
}
.plan-tile:hover { border-color: var(--border-gold); background: var(--surface-3); }
.plan-tile h3 { font-size: 15px; font-weight: 700; }
.plan-tile .plan-price {
  font-family: var(--mono);
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--gold-bright);
  margin: 6px 0 2px;
}
.plan-tile .btn { margin-top: auto; width: 100%; }

/* A tick drawn as a bullet: the list is generated from plan data, so an icon
   per row would mean rebuilding the markup for a purely decorative mark. */
.plan-features li { position: relative; padding-left: 19px; }
.plan-features li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 11px; height: 11px;
  background: currentColor;
  color: var(--buy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-features li { padding-left: 19px; }

/* File inputs cannot be restyled directly; the button inside is themed so the
   receipt upload does not sit in the page as raw browser chrome. */
#pay-proof {
  padding: 9px 12px;
  font-size: 13px;
  background: var(--bg-sunken);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
}
#pay-proof::file-selector-button {
  margin-right: 12px;
  padding: 6px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12.5px; font-weight: 600;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
#pay-proof::file-selector-button:hover { background: var(--surface-3); border-color: var(--gold); }

#trial-cta, #expired-cta { border-color: var(--border-gold); }
#trial-cta .btn, #expired-cta .btn { margin-top: 14px; }

@media (max-width: 620px) {
  .plans-grid, .plan-tile { grid-template-columns: 1fr; }
}
