/*
 * Customer support polish
 * - Turns the account support links into two equally important, touch-friendly actions.
 * - Gives a new ticket a real writing workspace instead of squeezing it into a sidebar.
 */

/* Account page: primary support action and clearly visible live status action. */
.account-support-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 14px; }
.account-support-actions > a { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; border-radius: 13px; font-size: 12px; font-weight: 850; text-align: center; transition: transform .22s cubic-bezier(.22,1,.36,1),border-color .2s ease,box-shadow .22s ease,background .2s ease; }
.account-support-primary { border: 1px solid rgba(255,255,255,.16); color: #fff; background: radial-gradient(circle at 82% 12%,rgba(141,185,255,.55),transparent 27%),linear-gradient(135deg,#102543,#0867ea); box-shadow: 0 11px 25px rgba(8,84,202,.22); }
.account-support-primary > span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.12); }
.account-status-action { border: 1px solid #dbe5ef; color: #27405f; background: linear-gradient(145deg,#fff,#f5f8fc); box-shadow: 0 8px 20px rgba(25,51,85,.07); }
.account-status-action > i { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #25b976; box-shadow: 0 0 0 5px rgba(37,185,118,.12),0 0 14px rgba(37,185,118,.28); }
.account-support-actions > a:hover { transform: translateY(-2px); }
.account-support-primary:hover { color: #fff; box-shadow: 0 15px 30px rgba(8,84,202,.3); }
.account-status-action:hover { border-color: #b9cfeb; background: #fff; box-shadow: 0 13px 28px rgba(25,51,85,.11); }

.account-panel > a[href="/app/support"],
.account-panel > a[href="/status"] {
  position: relative;
  display: inline-flex;
  width: calc(50% - 7px);
  min-height: 52px;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  overflow: hidden;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform .22s cubic-bezier(.22,1,.36,1), border-color .2s ease, box-shadow .22s ease, background .2s ease;
}

.account-panel > a[href="/app/support"] {
  margin-right: 8px;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: radial-gradient(circle at 82% 12%,rgba(141,185,255,.55),transparent 27%),linear-gradient(135deg,#102543,#0867ea);
  box-shadow: 0 11px 25px rgba(8,84,202,.22);
}

.account-panel > a[href="/app/support"]::before {
  content: "?";
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  font-size: 12px;
}

.account-panel > a[href="/status"] {
  border: 1px solid #dbe5ef;
  color: #27405f;
  background: linear-gradient(145deg,#fff,#f5f8fc);
  box-shadow: 0 8px 20px rgba(25,51,85,.07);
}

.account-panel > a[href="/status"]::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #25b976;
  box-shadow: 0 0 0 5px rgba(37,185,118,.12),0 0 14px rgba(37,185,118,.28);
}

.account-panel > a[href="/app/support"]:hover,
.account-panel > a[href="/status"]:hover {
  transform: translateY(-2px);
}

.account-panel > a[href="/app/support"]:hover {
  box-shadow: 0 15px 30px rgba(8,84,202,.3);
}

.account-panel > a[href="/status"]:hover {
  border-color: #b9cfeb;
  background: #fff;
  box-shadow: 0 13px 28px rgba(25,51,85,.11);
}

/* Support page: articles stay roomy; ticket history and composer form one workspace below. */
.support-layout {
  grid-template-columns: minmax(0,1fr);
}

.support-layout > aside {
  display: grid;
  grid-template-columns: minmax(270px,.55fr) minmax(520px,1.45fr);
  gap: 18px;
  padding-top: 28px;
  align-items: start;
}

.support-layout .new-ticket-card {
  position: relative;
  margin-top: 0;
  padding: clamp(24px,3vw,36px);
  border-color: #d5e1f0;
  border-radius: 23px;
  background: radial-gradient(circle at 100% 0,rgba(63,133,255,.1),transparent 28%),linear-gradient(145deg,#fff,#f7faff);
  box-shadow: 0 22px 55px rgba(24,55,96,.09);
}

.support-layout .new-ticket-card h2 {
  margin: 5px 0 0;
  font-size: clamp(28px,3vw,38px);
  letter-spacing: -.035em;
}

.support-layout .new-ticket-card textarea {
  min-height: 230px;
  padding: 15px 16px;
  border-radius: 14px;
  background: #fff;
  line-height: 1.6;
}

.support-layout .new-ticket-card button {
  min-height: 52px;
  justify-self: start;
  padding-inline: 22px;
}

@media (max-width: 900px) {
  .support-layout > aside {
    grid-template-columns: 1fr;
  }

  .support-layout .new-ticket-card {
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .account-support-actions { grid-template-columns: 1fr; }
  .account-support-actions > a { min-height: 56px; }
  .account-panel > a[href="/app/support"],
  .account-panel > a[href="/status"] {
    width: 100%;
    min-height: 56px;
    margin-right: 0;
  }

  .support-layout > aside {
    gap: 14px;
    padding-top: 20px;
  }

  .support-layout .new-ticket-card {
    margin-inline: -2px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .support-layout .new-ticket-card textarea {
    min-height: 260px;
  }

  .support-layout .new-ticket-card button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-panel > a[href="/app/support"],
  .account-panel > a[href="/status"] {
    transition: none;
  }
}

/* Registration fine print stays subordinate to the actual annual price choice. */
.plan-column.annual > p {
  margin: 7px 3px 0;
  color: #8793a4;
  font-size: 9px;
  line-height: 1.45;
}

/* Logged-in cancellation forms visibly confirm their secure prefill. */
.termination-prefill {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  padding: 13px 15px;
  border: 1px solid #bfe5d2;
  border-radius: 13px;
  color: #126643;
  background: #effaf5;
}
.termination-prefill > span { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 9px; color: #fff; background: #24b477; font-weight: 900; }
.termination-prefill > div { display: flex; flex-direction: column; }
.termination-prefill small { color: #618273; }

/* First purchase checkout: prepaid accounting without a separate top-up detour. */
.booking-checkout {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr);
  gap: clamp(24px,4vw,52px);
  margin-bottom: 34px;
  padding: clamp(27px,4vw,46px);
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  background: radial-gradient(circle at 15% 8%,rgba(47,137,255,.34),transparent 30%),linear-gradient(135deg,#081524,#143d6d);
  box-shadow: 0 28px 70px rgba(15,45,80,.2);
}
.booking-checkout .eyebrow { color: #83b6ff; }
.booking-checkout h2 { margin: 9px 0; color: #fff; font-size: clamp(31px,4vw,48px); overflow-wrap: anywhere; }
.booking-checkout-copy > p { max-width: 620px; color: #adbed2; }
.booking-checkout-copy > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 24px; }
.booking-checkout-copy > div > span { display: flex; flex-direction: column; padding: 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: rgba(255,255,255,.055); }
.booking-checkout-copy small { color: #91a5be; }
.booking-checkout-copy b { margin-top: 4px; font-size: 20px; }
.booking-checkout > form { align-self: center; padding: 23px; border: 1px solid rgba(255,255,255,.14); border-radius: 19px; color: #16243a; background: #fff; box-shadow: 0 20px 45px rgba(0,0,0,.16); }
.booking-checkout > form h3 { margin: 0 0 7px; font-size: 21px; }
.booking-checkout > form > p { color: #718096; font-size: 11px; line-height: 1.55; }
.booking-checkout > form .button { width: 100%; min-height: 51px; margin-top: 15px; }
.booking-checkout > form > small { display: block; margin-top: 9px; color: #8592a3; text-align: center; }
.booking-review { display: flex; align-self: center; gap: 14px; padding: 23px; border: 1px solid rgba(255,255,255,.14); border-radius: 19px; background: rgba(255,255,255,.07); }
.booking-review > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; color: #704a07; background: #ffc867; }
.booking-review p { margin: 5px 0 0; color: #aebed1; font-size: 12px; }
@media(max-width:900px){.booking-checkout{grid-template-columns:1fr}}
@media(max-width:560px){.booking-checkout{padding:25px 18px;border-radius:21px}.booking-checkout-copy>div{grid-template-columns:1fr}.booking-review{padding:18px}}
