/* =========================================================
   FairTicks Member Global Theme
   Path: /fairticks-assets/css/fairticks-member.css
   Version: 1.0.6
   ========================================================= */

:root {
    --ft-bg: #06111f;
    --ft-bg-deep: #020617;
    --ft-bg-soft: #0b1728;
    --ft-card: rgba(10, 23, 40, 0.92);
    --ft-card-soft: rgba(255, 255, 255, 0.045);
    --ft-border: rgba(93, 188, 255, 0.18);
    --ft-border-strong: rgba(93, 188, 255, 0.38);
    --ft-text: #f8fafc;
    --ft-muted: #9fb2c8;
    --ft-blue: #2f8cff;
    --ft-cyan: #37d5ff;
    --ft-green: #19c37d;
    --ft-green-soft: rgba(25, 195, 125, 0.14);
    --ft-warning: #f4c95d;
    --ft-danger: #ff6b6b;
    --ft-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    --ft-radius-xl: 28px;
    --ft-radius-lg: 22px;
    --ft-radius-md: 14px;
    --ft-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-ft-theme="light"] {
    --ft-bg: #f4f8ff;
    --ft-bg-deep: #eaf2ff;
    --ft-bg-soft: #ffffff;
    --ft-card: rgba(255, 255, 255, 0.92);
    --ft-card-soft: rgba(2, 17, 31, 0.035);
    --ft-border: rgba(47, 140, 255, 0.18);
    --ft-border-strong: rgba(47, 140, 255, 0.38);
    --ft-text: #06111f;
    --ft-muted: #52677f;
    --ft-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

/* =========================================================
   Base
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.ft-member-page,
body.ft-page-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--ft-font);
    background:
        radial-gradient(circle at top left, rgba(47, 140, 255, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(55, 213, 255, 0.14), transparent 28%),
        linear-gradient(135deg, var(--ft-bg-deep) 0%, var(--ft-bg) 45%, #081827 100%);
    color: var(--ft-text);
}

html[data-ft-theme="light"] body.ft-member-page,
html[data-ft-theme="light"] body.ft-page-body {
    background:
        radial-gradient(circle at top left, rgba(47, 140, 255, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(55, 213, 255, 0.13), transparent 28%),
        linear-gradient(135deg, #eef6ff 0%, #f8fbff 45%, #ffffff 100%);
}

body.ft-member-page a,
body.ft-page-body a {
    color: inherit;
}

/* =========================================================
   Trading Accounts Custom Page Layout
   ========================================================= */

.ft-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 70px;
}

.ft-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 42px;
}

.ft-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    font-size: 22px;
}

.ft-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ft-blue), var(--ft-cyan));
    box-shadow: 0 0 30px rgba(47, 140, 255, 0.35);
}

.ft-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ft-top-link,
.ft-theme-toggle {
    padding: 10px 14px;
    border: 1px solid var(--ft-border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--ft-muted);
    font-size: 13px;
    font-weight: 800;
    background: var(--ft-card-soft);
    cursor: pointer;
    font-family: var(--ft-font);
}

.ft-top-link:hover,
.ft-theme-toggle:hover {
    color: var(--ft-text);
    border-color: var(--ft-border-strong);
}

/* Hero */
.ft-hero {
    margin-bottom: 34px;
    padding: 34px;
    border: 1px solid var(--ft-border);
    border-radius: var(--ft-radius-xl);
    background:
        linear-gradient(135deg, rgba(47, 140, 255, 0.12), rgba(55, 213, 255, 0.04)),
        rgba(255, 255, 255, 0.035);
    box-shadow: var(--ft-shadow);
}

html[data-ft-theme="light"] .ft-hero {
    background:
        linear-gradient(135deg, rgba(47, 140, 255, 0.10), rgba(55, 213, 255, 0.06)),
        rgba(255, 255, 255, 0.86);
}

.ft-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(47, 140, 255, 0.12);
    border: 1px solid rgba(55, 213, 255, 0.2);
    color: #bdeaff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

html[data-ft-theme="light"] .ft-kicker {
    color: #075985;
    background: rgba(47, 140, 255, 0.10);
}

.ft-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(34px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.ft-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--ft-muted);
    font-size: 17px;
    line-height: 1.7;
}

/* Tabs */
.ft-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 28px;
}

.ft-tab {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--ft-card-soft);
    border: 1px solid var(--ft-border);
    color: var(--ft-muted);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.ft-tab:hover {
    border-color: var(--ft-border-strong);
    color: var(--ft-text);
}

/* Detail page */
.ft-detail-panel {
    margin: 0 0 34px;
    padding: 28px;
    border-radius: 26px;
    border: 1px solid var(--ft-border-strong);
    background:
        linear-gradient(135deg, rgba(47, 140, 255, 0.13), rgba(55, 213, 255, 0.04)),
        rgba(255, 255, 255, 0.04);
    box-shadow: var(--ft-shadow);
}

html[data-ft-theme="light"] .ft-detail-panel {
    background:
        linear-gradient(135deg, rgba(47, 140, 255, 0.10), rgba(55, 213, 255, 0.05)),
        rgba(255, 255, 255, 0.92);
}

.ft-back-link {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--ft-muted);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.ft-back-link:hover {
    color: var(--ft-text);
}

.ft-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 24px;
    align-items: stretch;
}

.ft-detail-grid h2 {
    margin: 18px 0 12px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.ft-detail-grid p {
    margin: 0;
    max-width: 680px;
    color: var(--ft-muted);
    font-size: 16px;
    line-height: 1.7;
}

.ft-detail-features {
    margin-top: 24px;
}

.ft-detail-card {
    padding: 24px;
    border-radius: var(--ft-radius-lg);
    border: 1px solid var(--ft-border);
    background: rgba(2, 6, 23, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

html[data-ft-theme="light"] .ft-detail-card {
    background: rgba(255, 255, 255, 0.72);
}

.ft-detail-meta {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.ft-detail-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ft-muted);
    font-size: 14px;
}

html[data-ft-theme="light"] .ft-detail-meta-row {
    border-bottom-color: rgba(2, 17, 31, 0.08);
}

.ft-detail-meta-row strong {
    color: var(--ft-text);
}

/* Sections / Cards */
.ft-section {
    margin-top: 34px;
    scroll-margin-top: 24px;
}

.ft-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ft-section-title h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.ft-section-title span {
    color: var(--ft-muted);
    font-size: 13px;
    font-weight: 800;
}

.ft-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ft-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 24px;
    border: 1px solid var(--ft-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
        var(--ft-card);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

html[data-ft-theme="light"] .ft-card {
    box-shadow: 0 16px 46px rgba(15, 23, 42, 0.10);
}

.ft-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(55, 213, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(47, 140, 255, 0.12), transparent 36%);
    pointer-events: none;
}

.ft-card > * {
    position: relative;
    z-index: 1;
}

.ft-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.ft-card-arrow {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #d7e9ff;
    border: 1px solid var(--ft-border);
    background: var(--ft-card-soft);
    font-size: 18px;
    font-weight: 900;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

html[data-ft-theme="light"] .ft-card-arrow {
    color: #075985;
}

.ft-card-arrow:hover {
    transform: translateY(-1px);
    border-color: var(--ft-border-strong);
    background: rgba(47, 140, 255, 0.12);
}

.ft-badge {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(47, 140, 255, 0.12);
    border: 1px solid rgba(55, 213, 255, 0.24);
    color: #c7efff;
    font-size: 12px;
    font-weight: 900;
}

html[data-ft-theme="light"] .ft-badge {
    color: #075985;
    background: rgba(47, 140, 255, 0.09);
}

.ft-size {
    text-align: right;
    color: #dcecff;
    font-size: 13px;
    font-weight: 900;
}

html[data-ft-theme="light"] .ft-size {
    color: #164e63;
}

.ft-size-card {
    text-align: left;
    margin: 0 0 16px;
    color: #cfe7ff;
}

html[data-ft-theme="light"] .ft-size-card {
    color: #155e75;
}

.ft-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.ft-desc {
    margin: 0 0 20px;
    color: var(--ft-muted);
    line-height: 1.65;
    font-size: 14px;
}

.ft-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.ft-price {
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.ft-period {
    color: var(--ft-muted);
    font-size: 13px;
    font-weight: 800;
}

.ft-features {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.ft-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #d8e5f6;
    font-size: 14px;
    line-height: 1.45;
}

html[data-ft-theme="light"] .ft-features li {
    color: #31455c;
}

.ft-features li::before {
    content: "\2713";
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    border-radius: 999px;
    background: rgba(25, 195, 125, 0.13);
    color: var(--ft-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    margin-top: 1px;
}

/* Buttons */
.ft-card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.ft-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: var(--ft-radius-md);
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--ft-font);
}

.ft-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--ft-blue), var(--ft-cyan));
    color: #02111f;
    box-shadow: 0 10px 28px rgba(47, 140, 255, 0.28);
}

.ft-btn-secondary {
    border: 1px solid var(--ft-border);
    color: #d7e9ff;
    background: var(--ft-card-soft);
}

html[data-ft-theme="light"] .ft-btn-secondary {
    color: #075985;
}

.ft-btn:hover {
    transform: translateY(-1px);
}

.ft-add-to-cart.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.ft-add-to-cart.is-added {
    border-color: rgba(25, 195, 125, 0.4);
    color: #bfffe3;
    background: rgba(25, 195, 125, 0.1);
}

html[data-ft-theme="light"] .ft-add-to-cart.is-added {
    color: #047857;
}

.ft-back-small {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    color: var(--ft-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.ft-back-small:hover {
    color: var(--ft-text);
}

/* Notes / states */
.ft-note,
.ft-error,
.ft-empty {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.ft-note {
    border: 1px solid rgba(244, 201, 93, 0.22);
    background: rgba(244, 201, 93, 0.08);
    color: #ffe7a3;
}

html[data-ft-theme="light"] .ft-note {
    color: #765100;
    background: rgba(244, 201, 93, 0.14);
}

.ft-error {
    border: 1px solid rgba(255, 107, 107, 0.25);
    background: rgba(255, 107, 107, 0.09);
    color: #ffc7c7;
}

html[data-ft-theme="light"] .ft-error {
    color: #991b1b;
}

.ft-empty {
    border: 1px solid var(--ft-border);
    background: var(--ft-card-soft);
    color: var(--ft-muted);
}

/* =========================================================
   Toast / Silent Cart
   ========================================================= */

.ft-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    max-width: 400px;
    padding: 16px 18px 16px 48px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(25, 195, 125, 0.14), rgba(55, 213, 255, 0.06)),
        rgba(5, 16, 31, 0.97);
    border: 1px solid rgba(25, 195, 125, 0.42);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(25, 195, 125, 0.12);
    color: #f8fafc;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.45;
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

html[data-ft-theme="light"] .ft-toast {
    background:
        linear-gradient(135deg, rgba(25, 195, 125, 0.14), rgba(55, 213, 255, 0.08)),
        rgba(255, 255, 255, 0.98);
    color: #06111f;
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.16),
        0 0 30px rgba(25, 195, 125, 0.12);
}

.ft-toast::before {
    content: "\2713";
    position: absolute;
    left: 16px;
    top: 16px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(25, 195, 125, 0.18);
    color: #19c37d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 0 18px rgba(25, 195, 125, 0.22);
}

.ft-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ft-toast span,
.ft-toast-submessage {
    display: block;
    color: var(--ft-muted);
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.ft-toast-message {
    color: inherit;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.45;
}

.ft-cart-iframe {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    left: -9999px;
    top: -9999px;
}

/* =========================================================
   Light Polish for Native aMember Pages
   ========================================================= */

body:not(.am-admin) .am-body-content {
    font-family: var(--ft-font);
}

.am-body-content .am-tabs,
.am-body-content .am-form form,
.am-body-content .am-invoice-summary,
.am-body-content .user-invoice,
.am-body-content .am-grid-container {
    border-radius: 18px;
}

.am-body-content input[type="submit"],
.am-body-content button,
.am-body-content a.button {
    border-radius: 12px;
}







/* =========================================================
   Responsive - Trading Accounts
   ========================================================= */

@media (max-width: 860px) {
    .ft-grid {
        grid-template-columns: 1fr;
    }

    .ft-detail-grid {
        grid-template-columns: 1fr;
    }

    .ft-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ft-hero {
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .ft-page {
        width: min(100% - 22px, 1180px);
        padding-top: 22px;
    }

    .ft-card,
    .ft-detail-panel {
        padding: 20px;
        min-height: auto;
    }

    .ft-card-actions {
        flex-direction: column;
    }

    .ft-btn {
        width: 100%;
    }

    .ft-toast {
        right: 12px;
        left: 12px;
        bottom: 14px;
        max-width: none;
    }
}
/* =========================================================
   FairTicks - Breadcrumbs
   ========================================================= */

.ft-breadcrumbs-wrap {
  width: 100%;
  margin: 0 0 18px;
}

.ft-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  list-style: none;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.96)),
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 34%);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.22);
}

.ft-breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.ft-breadcrumbs-item a {
  color: rgba(125, 211, 252, 0.92);
  text-decoration: none;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.ft-breadcrumbs-item a:hover {
  color: #e0f2fe;
  text-decoration: none;
}

.ft-breadcrumbs-item.is-current {
  color: rgba(248, 250, 252, 0.94);
}

.ft-breadcrumbs-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(148, 163, 184, 0.48);
  font-size: 12px;
  line-height: 1;
  user-select: none;
}

@media (max-width: 640px) {
  .ft-breadcrumbs-wrap {
    margin-bottom: 14px;
  }

  .ft-breadcrumbs {
    padding: 9px 11px;
    border-radius: 12px;
    gap: 6px;
  }

  .ft-breadcrumbs-item {
    font-size: 12px;
  }

  .ft-breadcrumbs-item:not(.is-current) {
    max-width: 120px;
  }

  .ft-breadcrumbs-item a,
  .ft-breadcrumbs-item.is-current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* =========================================================
   FairTicks - Global Content Wrapper
   ========================================================= */

.ft-page-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

.ft-page-top {
  margin-bottom: 22px;
}

.ft-page-header {
  position: relative;
  margin-top: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 20px 50px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.ft-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.16), transparent 36%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 34%);
  opacity: 0.9;
}

.ft-page-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: rgba(125, 211, 252, 0.95);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ft-page-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ft-page-content {
  width: 100%;
  min-width: 0;
}

.ft-page-content > *:first-child {
  margin-top: 0;
}

.ft-page-content > *:last-child {
  margin-bottom: 0;
}

/* Remove old native title spacing if aMember injects h1 elsewhere */
.am-body-content .am-body-content-top > h1:not(.ft-page-title) {
  display: none;
}

@media (max-width: 768px) {
  .ft-page-shell {
    padding: 16px;
  }

  .ft-page-top {
    margin-bottom: 16px;
  }

  .ft-page-header {
    padding: 18px;
    border-radius: 18px;
  }

  .ft-page-kicker {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .ft-page-shell {
    padding: 12px;
  }

  .ft-page-header {
    padding: 16px;
    border-radius: 16px;
  }
}
/* =========================================================
   FairTicks - Demo Environment Notice
   File: application/default/views/_demo.phtml
   ========================================================= */

.ft-demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.32);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(127, 29, 29, 0.36), rgba(15, 23, 42, 0.96));
  box-shadow:
    0 16px 38px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #fee2e2;
  box-sizing: border-box;
}

.ft-demo-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.36);
  color: #fecaca;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.ft-demo-notice-content {
  min-width: 0;
}

.ft-demo-notice-content strong {
  display: block;
  margin: 0 0 3px;
  color: #fff1f2;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.ft-demo-notice-content p {
  margin: 0;
  color: rgba(254, 226, 226, 0.86);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .ft-demo-notice {
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 14px;
  }

  .ft-demo-notice-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 13px;
  }

  .ft-demo-notice-content strong,
  .ft-demo-notice-content p {
    font-size: 12px;
  }
}
/* =========================================================
   FairTicks - Global Error Renderer
   File: application/default/views/_error.phtml
   ========================================================= */

.ft-error-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.32);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(127, 29, 29, 0.34), rgba(15, 23, 42, 0.96));
  box-shadow:
    0 16px 38px rgba(2, 6, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #fee2e2;
  box-sizing: border-box;
}

.ft-error-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.36);
  color: #fecaca;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.ft-error-card-body {
  min-width: 0;
}

.ft-error-card-title {
  display: block;
  margin: 0 0 6px;
  color: #fff1f2;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.ft-error-card-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(254, 226, 226, 0.88);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.ft-error-card-list li + li {
  margin-top: 4px;
}

.ft-error-card a {
  color: #bae6fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ft-error-card a:hover {
  color: #e0f2fe;
}

@media (max-width: 640px) {
  .ft-error-card {
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 14px;
  }

  .ft-error-card-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 13px;
  }

  .ft-error-card-title,
  .ft-error-card-list {
    font-size: 12px;
  }
}
/* =========================================================
   FairTicks - Flash Messages
   File: application/default/views/_flash.phtml
   ========================================================= */

#am-flash.ft-flash {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none;
  pointer-events: none;
}

#am-flash.ft-flash .ft-flash-mask,
#am-flash.ft-flash .am-flash-mask {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(2, 6, 23, 0.42) !important;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

#am-flash.ft-flash .ft-flash-content,
#am-flash.ft-flash .am-flash-content {
  position: fixed !important;
  top: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(520px, calc(100vw - 32px)) !important;
  min-height: 0 !important;
  padding: 16px 18px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(34, 211, 238, 0.22) !important;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98)) !important;
  box-shadow:
    0 26px 70px rgba(2, 6, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  color: #e5f7ff !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  pointer-events: auto;
  box-sizing: border-box !important;
}

#am-flash.ft-flash .am-flash-content:empty {
  display: none !important;
}

/* Native aMember may inject lists/paragraphs */
#am-flash.ft-flash .am-flash-content p,
#am-flash.ft-flash .am-flash-content ul,
#am-flash.ft-flash .am-flash-content ol {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#am-flash.ft-flash .am-flash-content ul,
#am-flash.ft-flash .am-flash-content ol {
  padding-left: 18px !important;
}

#am-flash.ft-flash .am-flash-content a {
  color: #7dd3fc !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

#am-flash.ft-flash .am-flash-content a:hover {
  color: #e0f2fe !important;
}

/* If aMember injects typed messages */
#am-flash.ft-flash .am-error,
#am-flash.ft-flash .error,
#am-flash.ft-flash .am-flash-error {
  color: #fecaca !important;
}

#am-flash.ft-flash .am-success,
#am-flash.ft-flash .success,
#am-flash.ft-flash .am-flash-success {
  color: #bbf7d0 !important;
}

#am-flash.ft-flash .am-info,
#am-flash.ft-flash .info,
#am-flash.ft-flash .am-flash-info {
  color: #bae6fd !important;
}

@media (max-width: 640px) {
  #am-flash.ft-flash .ft-flash-content,
  #am-flash.ft-flash .am-flash-content {
    top: 14px !important;
    width: calc(100vw - 24px) !important;
    padding: 14px 15px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
  }
}
/* =========================================================
   FairTicks - Global aMember Forms
   File: application/default/views/_form.phtml
   ========================================================= */

.ft-form-shell {
  width: 100%;
  min-width: 0;
}

/* Main form container */
.ft-form-shell form,
.am-body-content form {
  width: 100%;
  box-sizing: border-box;
}

/* Native aMember form rows */
.ft-form-shell .am-row,
.am-body-content .am-row {
  margin: 0 0 16px;
}

/* Labels */
.ft-form-shell label,
.am-body-content form label {
  display: inline-block;
  margin: 0 0 7px;
  color: rgba(226, 232, 240, 0.82);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}

/* Required marker */
.ft-form-shell .required,
.am-body-content form .required {
  color: #67e8f9;
}

/* Inputs / textareas / selects */
.ft-form-shell input[type="text"],
.ft-form-shell input[type="email"],
.ft-form-shell input[type="password"],
.ft-form-shell input[type="number"],
.ft-form-shell input[type="tel"],
.ft-form-shell input[type="url"],
.ft-form-shell input[type="search"],
.ft-form-shell textarea,
.ft-form-shell select,
.am-body-content form input[type="text"],
.am-body-content form input[type="email"],
.am-body-content form input[type="password"],
.am-body-content form input[type="number"],
.am-body-content form input[type="tel"],
.am-body-content form input[type="url"],
.am-body-content form input[type="search"],
.am-body-content form textarea,
.am-body-content form select {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.94));
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(2, 6, 23, 0.12);
  box-sizing: border-box;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.ft-form-shell textarea,
.am-body-content form textarea {
  min-height: 118px;
  resize: vertical;
}

/* Placeholder */
.ft-form-shell input::placeholder,
.ft-form-shell textarea::placeholder,
.am-body-content form input::placeholder,
.am-body-content form textarea::placeholder {
  color: rgba(148, 163, 184, 0.68);
}

/* Focus */
.ft-form-shell input[type="text"]:focus,
.ft-form-shell input[type="email"]:focus,
.ft-form-shell input[type="password"]:focus,
.ft-form-shell input[type="number"]:focus,
.ft-form-shell input[type="tel"]:focus,
.ft-form-shell input[type="url"]:focus,
.ft-form-shell input[type="search"]:focus,
.ft-form-shell textarea:focus,
.ft-form-shell select:focus,
.am-body-content form input[type="text"]:focus,
.am-body-content form input[type="email"]:focus,
.am-body-content form input[type="password"]:focus,
.am-body-content form input[type="number"]:focus,
.am-body-content form input[type="tel"]:focus,
.am-body-content form input[type="url"]:focus,
.am-body-content form input[type="search"]:focus,
.am-body-content form textarea:focus,
.am-body-content form select:focus {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 34px rgba(2, 6, 23, 0.18);
}

/* Disabled fields */
.ft-form-shell input:disabled,
.ft-form-shell textarea:disabled,
.ft-form-shell select:disabled,
.am-body-content form input:disabled,
.am-body-content form textarea:disabled,
.am-body-content form select:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

/* Checkbox / radio groups */
.ft-form-shell input[type="checkbox"],
.ft-form-shell input[type="radio"],
.am-body-content form input[type="checkbox"],
.am-body-content form input[type="radio"] {
  width: auto;
  min-height: auto;
  accent-color: #22d3ee;
}

/* Help / description text */
.ft-form-shell .am-form-description,
.ft-form-shell .description,
.ft-form-shell .comment,
.am-body-content form .am-form-description,
.am-body-content form .description,
.am-body-content form .comment {
  margin-top: 6px;
  color: rgba(148, 163, 184, 0.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

/* Validation errors */
.ft-form-shell .error,
.ft-form-shell .am-error,
.ft-form-shell .am-form-error,
.am-body-content form .error,
.am-body-content form .am-error,
.am-body-content form .am-form-error {
  margin-top: 7px;
  color: #fecaca;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* Fieldsets */
.ft-form-shell fieldset,
.am-body-content form fieldset {
  margin: 0 0 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.92));
  box-shadow:
    0 16px 40px rgba(2, 6, 23, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ft-form-shell legend,
.am-body-content form legend {
  padding: 0 8px;
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

/* Buttons */
.ft-form-shell input[type="submit"],
.ft-form-shell input[type="button"],
.ft-form-shell button,
.am-body-content form input[type="submit"],
.am-body-content form input[type="button"],
.am-body-content form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  background:
    linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.ft-form-shell input[type="submit"]:hover,
.ft-form-shell input[type="button"]:hover,
.ft-form-shell button:hover,
.am-body-content form input[type="submit"]:hover,
.am-body-content form input[type="button"]:hover,
.am-body-content form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 20px 44px rgba(37, 99, 235, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Secondary/reset buttons */
.ft-form-shell input[type="reset"],
.am-body-content form input[type="reset"] {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.82);
  color: rgba(226, 232, 240, 0.88);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

/* Tables inside forms */
.ft-form-shell table,
.am-body-content form table {
  width: 100%;
  border-collapse: collapse;
}

.ft-form-shell td,
.ft-form-shell th,
.am-body-content form td,
.am-body-content form th {
  padding: 8px;
  color: rgba(226, 232, 240, 0.86);
  vertical-align: top;
}

/* Native aMember submit row */
.ft-form-shell .am-form-submit,
.am-body-content form .am-form-submit {
  margin-top: 18px;
}

/* Mobile */
@media (max-width: 640px) {
  .ft-form-shell .am-row,
  .am-body-content .am-row {
    margin-bottom: 14px;
  }

  .ft-form-shell input[type="text"],
  .ft-form-shell input[type="email"],
  .ft-form-shell input[type="password"],
  .ft-form-shell input[type="number"],
  .ft-form-shell input[type="tel"],
  .ft-form-shell input[type="url"],
  .ft-form-shell input[type="search"],
  .ft-form-shell textarea,
  .ft-form-shell select,
  .am-body-content form input[type="text"],
  .am-body-content form input[type="email"],
  .am-body-content form input[type="password"],
  .am-body-content form input[type="number"],
  .am-body-content form input[type="tel"],
  .am-body-content form input[type="url"],
  .am-body-content form input[type="search"],
  .am-body-content form textarea,
  .am-body-content form select {
    min-height: 43px;
    border-radius: 12px;
    font-size: 13px;
  }

  .ft-form-shell input[type="submit"],
  .ft-form-shell input[type="button"],
  .ft-form-shell button,
  .am-body-content form input[type="submit"],
  .am-body-content form input[type="button"],
  .am-body-content form button {
    width: 100%;
    min-height: 44px;
  }

  .ft-form-shell fieldset,
  .am-body-content form fieldset {
    padding: 14px;
    border-radius: 16px;
  }
}
/* =========================================================
   FairTicks - Invoice Summary
   File: application/default/views/_invoice-summary.phtml
   ========================================================= */

.ft-invoice-summary {
  width: 100%;
  margin: 0 0 22px;
  box-sizing: border-box;
}

.ft-invoice-summary-card {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.ft-invoice-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ft-invoice-summary-kicker {
  margin-bottom: 6px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-invoice-summary-title {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ft-invoice-summary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ft-invoice-summary-items-wrap {
  width: 100%;
  overflow-x: auto;
}

.ft-invoice-summary-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.ft-invoice-summary-table td {
  padding: 12px 0;
  vertical-align: top;
  border: 0;
}

.ft-invoice-summary-item-title {
  min-width: 0;
  color: rgba(226, 232, 240, 0.9);
}

.ft-invoice-summary-item-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 850;
  vertical-align: middle;
}

.ft-invoice-summary-item-name {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  vertical-align: middle;
}

.ft-invoice-summary-options {
  margin: 9px 0 0 30px;
  display: grid;
  gap: 5px;
}

.ft-invoice-summary-option {
  color: rgba(203, 213, 225, 0.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.ft-invoice-summary-option-label {
  color: rgba(226, 232, 240, 0.86);
  font-weight: 800;
}

.ft-invoice-summary-option-value {
  color: rgba(203, 213, 225, 0.82);
}

.ft-invoice-summary-option-price {
  margin-left: 6px;
  color: rgba(125, 211, 252, 0.9);
  font-style: normal;
  font-weight: 750;
}

.ft-invoice-summary-item-qty {
  width: 70px;
  text-align: right;
  color: rgba(148, 163, 184, 0.86);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.ft-invoice-summary-price {
  width: 140px;
  text-align: right;
  color: rgba(226, 232, 240, 0.9);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.ft-invoice-summary-delimiter td {
  padding: 8px 0 10px;
}

.ft-invoice-summary-delimiter hr {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(148, 163, 184, 0.24),
    transparent
  );
}

.ft-invoice-summary-row td {
  padding: 8px 0;
}

.ft-invoice-summary-label {
  color: rgba(148, 163, 184, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.ft-invoice-summary-price-discount {
  color: #bbf7d0;
}

.ft-invoice-summary-row-total td {
  padding-top: 14px;
}

.ft-invoice-summary-total-label strong {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 900;
}

.ft-invoice-summary-total-price strong {
  color: #67e8f9;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.ft-invoice-summary-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 36%),
    rgba(15, 23, 42, 0.72);
}

.ft-invoice-summary-terms-label {
  color: rgba(125, 211, 252, 0.94);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  white-space: nowrap;
}

.ft-invoice-summary-terms-text {
  min-width: 0;
  color: rgba(203, 213, 225, 0.86);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
}

.ft-invoice-summary-terms-text a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .ft-invoice-summary {
    margin-bottom: 18px;
  }

  .ft-invoice-summary-card {
    padding: 16px;
    border-radius: 20px;
  }

  .ft-invoice-summary-header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }

  .ft-invoice-summary-title {
    font-size: 20px;
  }

  .ft-invoice-summary-badge {
    align-self: flex-start;
  }

  .ft-invoice-summary-table td {
    padding: 10px 0;
  }

  .ft-invoice-summary-item-name {
    font-size: 13px;
  }

  .ft-invoice-summary-price {
    width: 110px;
    font-size: 13px;
  }

  .ft-invoice-summary-item-qty {
    width: 48px;
    font-size: 12px;
  }

  .ft-invoice-summary-options {
    margin-left: 0;
  }

  .ft-invoice-summary-total-price strong {
    font-size: 18px;
  }

  .ft-invoice-summary-terms {
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
  }
}
/* =========================================================
   FairTicks - Language Choice
   File: application/default/views/_lang-choice.phtml
   ========================================================= */

.ft-lang-choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  min-width: 0;
}

.ft-lang-choice-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ft-lang-choice-title {
  color: rgba(148, 163, 184, 0.86);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.ft-lang-choice-button {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px !important;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.2) !important;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 34%),
    rgba(15, 23, 42, 0.82) !important;
  color: #e0f2fe !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(2, 6, 23, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.ft-lang-choice-button:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.42) !important;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 34%),
    rgba(15, 23, 42, 0.92) !important;
}

.ft-lang-choice-text {
  max-width: 120px;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.94);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ft-lang-choice-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ft-lang-choice-list {
  min-width: 160px;
}

.ft-lang-choice-form {
  margin: 0;
}

.ft-lang-choice-select {
  min-height: 34px;
  padding: 7px 34px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.96));
  color: #f8fafc;
  font-size: 12px;
  font-weight: 750;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(2, 6, 23, 0.12);
}

.ft-lang-choice-select:focus {
  border-color: rgba(34, 211, 238, 0.58);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ft-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .ft-lang-choice {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .ft-lang-choice-current {
    justify-content: space-between;
  }

  .ft-lang-choice-list,
  .ft-lang-choice-select {
    width: 100%;
  }

  .ft-lang-choice-text {
    max-width: 180px;
  }
}
/* =========================================================
   FairTicks - Maintenance Mode Notice
   File: application/default/views/_maintenance.phtml
   ========================================================= */

.ft-maintenance-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.32);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(120, 53, 15, 0.32), rgba(15, 23, 42, 0.96));
  box-shadow:
    0 16px 38px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #fef3c7;
  box-sizing: border-box;
}

.ft-maintenance-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.36);
  color: #fde68a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.ft-maintenance-notice-content {
  min-width: 0;
}

.ft-maintenance-notice-content strong {
  display: block;
  margin: 0 0 3px;
  color: #fffbeb;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.ft-maintenance-notice-content p {
  margin: 0;
  color: rgba(254, 243, 199, 0.86);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.ft-maintenance-notice-content a {
  color: #e0f2fe;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ft-maintenance-notice-content a:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .ft-maintenance-notice {
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 14px;
  }

  .ft-maintenance-notice-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 13px;
  }

  .ft-maintenance-notice-content strong,
  .ft-maintenance-notice-content p {
    font-size: 12px;
  }
}
/* =========================================================
   FairTicks - URL Message Renderer
   File: application/default/views/_msg.phtml
   ========================================================= */

.ft-url-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  clear: both;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(8, 47, 73, 0.32), rgba(15, 23, 42, 0.96));
  box-shadow:
    0 16px 38px rgba(2, 6, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #e0f2fe;
  box-sizing: border-box;
}

.ft-url-message-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.34);
  color: #67e8f9;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  font-style: normal;
}

.ft-url-message-content {
  min-width: 0;
  color: rgba(224, 242, 254, 0.9);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ft-url-message-content a {
  color: #7dd3fc;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ft-url-message-content a:hover {
  color: #e0f2fe;
}

@media (max-width: 640px) {
  .ft-url-message {
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 14px;
  }

  .ft-url-message-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 12px;
  }

  .ft-url-message-content {
    font-size: 12px;
  }
}
/* =========================================================
   FairTicks - Payment Receipt
   File: application/default/views/_receipt.phtml
   ========================================================= */

.ft-receipt {
  width: 100%;
  margin: 0 0 24px;
  box-sizing: border-box;
}

.ft-receipt-card {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.ft-receipt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ft-receipt-kicker {
  margin-bottom: 6px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-receipt-title {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ft-receipt-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ft-receipt-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ft-receipt-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.ft-receipt-table th {
  padding: 0 0 11px;
  color: rgba(148, 163, 184, 0.9);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.ft-receipt-table td {
  padding: 13px 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 13px;
  line-height: 1.45;
  vertical-align: top;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.ft-receipt-product-cell {
  min-width: 220px;
}

.ft-receipt-product-title {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.ft-receipt-product-options {
  margin-top: 8px;
  display: grid;
  gap: 5px;
}

.ft-receipt-option {
  color: rgba(203, 213, 225, 0.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.ft-receipt-option-label {
  color: rgba(226, 232, 240, 0.86);
  font-weight: 800;
}

.ft-receipt-option-value {
  color: rgba(203, 213, 225, 0.82);
}

.ft-receipt-option-price {
  margin-left: 6px;
  color: rgba(125, 211, 252, 0.9);
  font-style: normal;
  font-weight: 750;
}

.ft-receipt-qty,
.ft-receipt-unit-price,
.ft-receipt-price {
  text-align: right;
  white-space: nowrap;
}

.ft-receipt-qty {
  width: 70px;
  color: rgba(148, 163, 184, 0.9);
  font-weight: 750;
}

.ft-receipt-unit-price {
  width: 130px;
  color: rgba(203, 213, 225, 0.86);
  font-weight: 750;
}

.ft-receipt-price {
  width: 140px;
  color: rgba(226, 232, 240, 0.94);
  font-weight: 850;
}

.ft-receipt-discounted-price {
  display: block;
  color: rgba(148, 163, 184, 0.78);
  font-size: 12px;
  text-decoration: line-through;
}

.ft-receipt-final-price {
  color: #f8fafc;
  font-weight: 900;
}

.ft-receipt-row-delimiter td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.ft-receipt-summary-row td {
  padding: 9px 0;
  border-bottom: 0;
}

.ft-receipt-summary-label {
  color: rgba(148, 163, 184, 0.88);
  font-size: 13px;
  font-weight: 750;
}

.ft-receipt-summary-price {
  color: rgba(226, 232, 240, 0.9);
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.ft-receipt-summary-price-discount {
  color: #bbf7d0;
}

.ft-receipt-row-total td {
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 0;
}

.ft-receipt-total-label strong {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 900;
}

.ft-receipt-total-price {
  text-align: right;
}

.ft-receipt-total-price .ft-receipt-final-price {
  color: #67e8f9;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.ft-receipt-row-terms td {
  padding-top: 16px;
  border-bottom: 0;
}

.ft-receipt-terms {
  padding: 14px !important;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 36%),
    rgba(15, 23, 42, 0.72);
}

.ft-receipt-terms-label {
  margin-bottom: 4px;
  color: rgba(125, 211, 252, 0.94);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.ft-receipt-terms-text {
  color: rgba(203, 213, 225, 0.86);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
}

.ft-receipt-terms-text a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .ft-receipt-card {
    padding: 16px;
    border-radius: 20px;
  }

  .ft-receipt-header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }

  .ft-receipt-title {
    font-size: 20px;
  }

  .ft-receipt-status {
    align-self: flex-start;
  }

  .ft-receipt-table {
    min-width: 620px;
  }
}
/* =========================================================
   FairTicks - Thanks Login Details
   File: application/default/views/_thanks-login-details.phtml
   ========================================================= */

.ft-thanks-login-details {
  width: 100%;
  margin: 0 0 24px;
}

.ft-thanks-login-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-thanks-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.22), transparent 50%),
    rgba(14, 165, 233, 0.12);
  color: #67e8f9;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.ft-thanks-login-content {
  min-width: 0;
  flex: 1;
}

.ft-thanks-login-kicker {
  margin-bottom: 6px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-thanks-login-title {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ft-thanks-login-subtitle {
  max-width: 720px;
  margin: 8px 0 18px;
  color: rgba(203, 213, 225, 0.78);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-thanks-login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ft-thanks-login-row {
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 36%),
    rgba(15, 23, 42, 0.72);
}

.ft-thanks-login-label {
  display: block;
  margin: 0 0 6px;
  color: rgba(148, 163, 184, 0.88);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ft-thanks-login-value,
.ft-thanks-password-value strong {
  display: block;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ft-thanks-login-password {
  min-width: 0;
}

.ft-thanks-password-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(14, 165, 233, 0.1);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.ft-thanks-password-toggle:hover {
  color: #e0f2fe;
  border-color: rgba(34, 211, 238, 0.38);
  text-decoration: none;
}

.ft-thanks-password-value {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(2, 6, 23, 0.48);
}

.ft-thanks-login-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.18);
  background: rgba(120, 53, 15, 0.12);
  color: rgba(254, 243, 199, 0.86);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .ft-thanks-login-card {
    flex-direction: column;
    padding: 18px;
    border-radius: 22px;
  }

  .ft-thanks-login-grid {
    grid-template-columns: 1fr;
  }

  .ft-thanks-login-title {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .ft-thanks-login-card {
    padding: 16px;
    border-radius: 20px;
  }

  .ft-thanks-login-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 16px;
  }
}
/* =========================================================
   FairTicks - Top Member Toolbar
   File: application/default/views/_top.phtml
   ========================================================= */

.ft-top-simple {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0 0 16px;
}

.ft-account-toolbar {
  width: 100%;
  margin: 0 0 18px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
  box-shadow:
    0 18px 48px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
}

.ft-account-toolbar-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.ft-account-toolbar-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ft-tabs-narrow-dashboard,
.ft-tabs-narrow-switch {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 13px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 36%),
    rgba(15, 23, 42, 0.86);
  color: #e0f2fe;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(2, 6, 23, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.ft-tabs-narrow-dashboard:hover,
.ft-tabs-narrow-switch:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.42);
}

.ft-tabs-narrow-dashboard::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, #67e8f9 0 45%, transparent 45% 55%, #67e8f9 55% 100%),
    linear-gradient(#67e8f9 0 45%, transparent 45% 55%, #67e8f9 55% 100%);
  opacity: 0.92;
}

.ft-tabs-narrow-switch::before,
.ft-tabs-narrow-switch::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 6px 0 #67e8f9;
}

.ft-tabs-narrow-switch::after {
  transform: translateY(-6px);
  box-shadow: none;
}

.ft-account-toolbar-lang {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.ft-account-toolbar-identity {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.ft-account-toolbar-narrow-menu {
  margin-top: 12px;
}

.ft-member-menu-wrap {
  width: 100%;
  margin: 0 0 18px;
}

/* Make native member menu look more FairTicks without breaking structure */
.ft-member-menu-wrap .am-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    rgba(15, 23, 42, 0.72);
  box-shadow:
    0 14px 36px rgba(2, 6, 23, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ft-member-menu-wrap .am-tabs li {
  margin: 0;
}

.ft-member-menu-wrap .am-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(203, 213, 225, 0.86);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.ft-member-menu-wrap .am-tabs a:hover {
  background: rgba(34, 211, 238, 0.1);
  color: #e0f2fe;
}

.ft-member-menu-wrap .am-tabs li.active a,
.ft-member-menu-wrap .am-tabs li.am-tabs-current a {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(37, 99, 235, 0.14));
  color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.18);
}

@media (max-width: 768px) {
  .ft-account-toolbar {
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 18px;
  }

  .ft-account-toolbar-items {
    gap: 10px;
  }

  .ft-account-toolbar-lang {
    display: none;
  }

  .ft-account-toolbar-identity {
    margin-left: auto;
  }

  .ft-member-menu-wrap {
    display: none;
  }
}

@media (max-width: 480px) {
  .ft-account-toolbar-items {
    align-items: center;
  }

  .ft-tabs-narrow-dashboard,
  .ft-tabs-narrow-switch {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
  }
}
/* =========================================================
   FairTicks - Buy / Invoice Processing Page
   File: application/default/views/buy.phtml
   ========================================================= */

.ft-buy-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-buy-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-buy-kicker,
.ft-buy-payment-kicker {
  margin-bottom: 7px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-buy-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-buy-subtitle {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-buy-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.ft-buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.ft-buy-summary,
.ft-buy-payment {
  min-width: 0;
}

.ft-buy-payment-card {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-buy-payment-header {
  margin-bottom: 18px;
}

.ft-buy-payment-title {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ft-buy-payment-subtitle {
  margin: 8px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.ft-buy-form-wrap {
  min-width: 0;
}

/* Native pay form polish */
.ft-buy-form-wrap form,
.ft-buy-form-wrap #pay-form {
  width: 100%;
  margin: 0;
}

.ft-buy-form-wrap .am-row {
  margin-bottom: 15px;
}

.ft-buy-form-wrap label {
  color: rgba(226, 232, 240, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.ft-buy-form-wrap input[type="text"],
.ft-buy-form-wrap input[type="email"],
.ft-buy-form-wrap input[type="password"],
.ft-buy-form-wrap input[type="number"],
.ft-buy-form-wrap select,
.ft-buy-form-wrap textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
}

.ft-buy-form-wrap input[type="text"]:focus,
.ft-buy-form-wrap input[type="email"]:focus,
.ft-buy-form-wrap input[type="password"]:focus,
.ft-buy-form-wrap input[type="number"]:focus,
.ft-buy-form-wrap select:focus,
.ft-buy-form-wrap textarea:focus {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.ft-buy-form-wrap input[type="submit"],
.ft-buy-form-wrap button,
.ft-buy-form-wrap .am-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ft-buy-form-wrap input[type="submit"]:hover,
.ft-buy-form-wrap button:hover,
.ft-buy-form-wrap .am-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .ft-buy-grid {
    grid-template-columns: 1fr;
  }

  .ft-buy-payment {
    order: -1;
  }
}

@media (max-width: 640px) {
  .ft-buy-hero {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .ft-buy-status {
    align-self: flex-start;
  }

  .ft-buy-payment-card {
    padding: 18px;
    border-radius: 20px;
  }

  .ft-buy-payment-title {
    font-size: 20px;
  }

  .ft-buy-form-wrap input[type="submit"],
  .ft-buy-form-wrap button,
  .ft-buy-form-wrap .am-cta {
    width: 100%;
  }
}
/* =========================================================
   FairTicks - Payment Failed / Cancelled Page
   File: application/default/views/cancel.phtml
   ========================================================= */

.ft-payment-cancel-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-payment-cancel-card,
.ft-payment-retry-card {
  width: 100%;
  margin: 0 0 22px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-payment-cancel-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-color: rgba(248, 113, 113, 0.22);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(127, 29, 29, 0.28), rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
}

.ft-payment-cancel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.36);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.ft-payment-cancel-content {
  min-width: 0;
  flex: 1;
}

.ft-payment-cancel-kicker,
.ft-payment-retry-kicker {
  margin-bottom: 7px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-payment-cancel-kicker {
  color: rgba(254, 202, 202, 0.96);
}

.ft-payment-cancel-title,
.ft-payment-retry-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-payment-retry-title {
  font-size: 24px;
}

.ft-payment-cancel-subtitle,
.ft-payment-retry-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-payment-cancel-alert {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.1), transparent 34%),
    rgba(120, 53, 15, 0.12);
  color: rgba(254, 243, 199, 0.9);
}

.ft-payment-cancel-alert strong {
  color: #fffbeb;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.ft-payment-cancel-alert span {
  color: rgba(254, 243, 199, 0.82);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

.ft-payment-retry-header {
  margin-bottom: 18px;
}

.ft-payment-retry-form {
  min-width: 0;
}

/* Native retry form polish */
.ft-payment-retry-form form {
  width: 100%;
  margin: 0;
}

.ft-payment-retry-form .am-row {
  margin-bottom: 15px;
}

.ft-payment-retry-form label {
  color: rgba(226, 232, 240, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.ft-payment-retry-form input[type="text"],
.ft-payment-retry-form input[type="email"],
.ft-payment-retry-form input[type="password"],
.ft-payment-retry-form input[type="number"],
.ft-payment-retry-form select,
.ft-payment-retry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
}

.ft-payment-retry-form input[type="text"]:focus,
.ft-payment-retry-form input[type="email"]:focus,
.ft-payment-retry-form input[type="password"]:focus,
.ft-payment-retry-form input[type="number"]:focus,
.ft-payment-retry-form select:focus,
.ft-payment-retry-form textarea:focus {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.ft-payment-retry-form input[type="submit"],
.ft-payment-retry-form input[type="button"],
.ft-payment-retry-form button,
.ft-payment-retry-form .am-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ft-payment-retry-form input[type="submit"]:hover,
.ft-payment-retry-form input[type="button"]:hover,
.ft-payment-retry-form button:hover,
.ft-payment-retry-form .am-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

/* Hide old native list styling if any plugin injects it */
.ft-payment-cancel-page .am-errors {
  margin: 0 0 18px;
  padding: 14px 16px 14px 34px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

@media (max-width: 640px) {
  .ft-payment-cancel-card,
  .ft-payment-retry-card {
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .ft-payment-cancel-card {
    flex-direction: column;
    gap: 14px;
  }

  .ft-payment-cancel-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 18px;
  }

  .ft-payment-retry-title {
    font-size: 22px;
  }

  .ft-payment-retry-form input[type="submit"],
  .ft-payment-retry-form input[type="button"],
  .ft-payment-retry-form button,
  .ft-payment-retry-form .am-cta {
    width: 100%;
  }
}
/* =========================================================
   FairTicks - Change Password Page
   File: application/default/views/changepass.phtml
   ========================================================= */

.ft-change-pass-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-change-pass-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 28px 80px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-change-pass-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.2), transparent 50%),
    rgba(14, 165, 233, 0.12);
  color: #67e8f9;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.ft-change-pass-content {
  min-width: 0;
  flex: 1;
}

.ft-change-pass-kicker {
  margin-bottom: 7px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-change-pass-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-change-pass-subtitle {
  max-width: 620px;
  margin: 10px 0 22px;
  color: rgba(203, 213, 225, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-change-pass-form {
  min-width: 0;
}

/* Slightly improve native change password form inside this page */
.ft-change-pass-form .ft-form-shell,
.ft-change-pass-form form {
  width: 100%;
}

.ft-change-pass-form fieldset {
  margin-bottom: 0;
}

.ft-change-pass-form input[type="submit"],
.ft-change-pass-form button {
  min-width: 170px;
}

@media (max-width: 640px) {
  .ft-change-pass-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
  }

  .ft-change-pass-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 16px;
  }

  .ft-change-pass-subtitle {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .ft-change-pass-form input[type="submit"],
  .ft-change-pass-form button {
    width: 100%;
  }
}
/* =========================================================
   FairTicks - Generic Error Page
   File: application/default/views/error.phtml
   ========================================================= */

.ft-error-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-error-page-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin: 0 0 22px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(248, 113, 113, 0.22);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(127, 29, 29, 0.26), rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 28px 80px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-error-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.36);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.ft-error-page-content {
  min-width: 0;
  flex: 1;
}

.ft-error-page-kicker {
  margin-bottom: 7px;
  color: rgba(254, 202, 202, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-error-page-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-error-page-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-error-page-message {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.1), transparent 34%),
    rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

.ft-error-page-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(254, 202, 202, 0.92);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.ft-error-page-list li + li {
  margin-top: 5px;
}

.ft-error-page-message a,
.ft-error-page-support a {
  color: #bae6fd;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ft-error-page-message a:hover,
.ft-error-page-support a:hover {
  color: #e0f2fe;
}

.ft-error-page-support {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    rgba(15, 23, 42, 0.72);
}

.ft-error-page-support-label {
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ft-error-page-support-text {
  color: rgba(203, 213, 225, 0.86);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.ft-error-trace {
  width: 100%;
  margin: 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 18px 48px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: rgba(203, 213, 225, 0.88);
  box-sizing: border-box;
}

.ft-error-trace summary {
  cursor: pointer;
  color: #bae6fd;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.ft-error-trace pre {
  max-width: 100%;
  margin: 14px 0 0;
  padding: 14px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.62);
  color: rgba(226, 232, 240, 0.86);
  font-size: 12px;
  line-height: 1.5;
}

.ft-error-trace-table-wrap {
  width: 100%;
  margin-top: 14px;
  overflow-x: auto;
}

.ft-error-trace-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.ft-error-trace-table th,
.ft-error-trace-table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: rgba(226, 232, 240, 0.82);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
}

.ft-error-trace-table th {
  color: rgba(125, 211, 252, 0.92);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .ft-error-page-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
  }

  .ft-error-page-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 19px;
  }

  .ft-error-page-title {
    font-size: 28px;
  }

  .ft-error-page-subtitle,
  .ft-error-page-list,
  .ft-error-page-support-text {
    font-size: 13px;
  }

  .ft-error-trace {
    padding: 14px;
    border-radius: 18px;
  }
}
/* =========================================================
   FairTicks - Member Index Page
   File: application/default/views/index.phtml
   ========================================================= */

.ft-index-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: stretch;
  width: 100%;
}

.ft-index-hero-content,
.ft-index-side-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 28px 80px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-index-hero-content {
  padding: 34px;
}

.ft-index-hero-content::before,
.ft-index-side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.12), transparent 42%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 36%);
  opacity: 0.9;
}

.ft-index-kicker,
.ft-index-title,
.ft-index-subtitle,
.ft-index-actions,
.ft-index-side-badge,
.ft-index-side-title,
.ft-index-side-list {
  position: relative;
  z-index: 1;
}

.ft-index-kicker {
  margin-bottom: 9px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-index-title {
  max-width: 680px;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.ft-index-subtitle {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.ft-index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ft-index-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    filter 160ms ease,
    background 160ms ease;
}

.ft-index-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.ft-index-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ft-index-btn-primary:hover {
  color: #020617;
  filter: brightness(1.04);
}

.ft-index-btn-secondary {
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(14, 165, 233, 0.1);
  color: #e0f2fe;
}

.ft-index-btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.46);
}

.ft-index-btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.88);
}

.ft-index-btn-ghost:hover {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.32);
}

.ft-index-side-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  min-height: 310px;
}

.ft-index-side-badge {
  display: inline-flex;
  align-self: flex-start;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 850;
}

.ft-index-side-title {
  margin-top: auto;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ft-index-side-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ft-index-side-list div {
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.62);
  color: rgba(226, 232, 240, 0.84);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .ft-index-hero {
    grid-template-columns: 1fr;
  }

  .ft-index-side-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .ft-index-hero-content,
  .ft-index-side-card {
    padding: 22px;
    border-radius: 22px;
  }

  .ft-index-title {
    font-size: 34px;
  }

  .ft-index-subtitle {
    font-size: 14px;
  }

  .ft-index-actions {
    flex-direction: column;
  }

  .ft-index-btn {
    width: 100%;
  }

  .ft-index-side-title {
    margin-top: 28px;
    font-size: 22px;
  }
}
/* =========================================================
   FairTicks - Blank Layout
   File: application/default/views/layout-blank.phtml
   ========================================================= */

.ft-layout-blank {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.08), transparent 36%),
    #020617;
  color: #e5f7ff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.ft-blank-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

.ft-blank-page a {
  color: #7dd3fc;
  text-decoration: none;
}

.ft-blank-page a:hover {
  color: #e0f2fe;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* =========================================================
   FairTicks - No Access Page
   File: application/default/views/no-access.phtml
   ========================================================= */

.ft-no-access-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-no-access-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(120, 53, 15, 0.24), rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 28px 80px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-no-access-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.36);
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.ft-no-access-content {
  min-width: 0;
  flex: 1;
}

.ft-no-access-kicker {
  margin-bottom: 7px;
  color: rgba(253, 230, 138, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-no-access-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-no-access-subtitle {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.82);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-no-access-subtitle strong {
  color: #f8fafc;
  font-weight: 900;
}

.ft-no-access-info {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    rgba(15, 23, 42, 0.72);
}

.ft-no-access-info strong {
  color: rgba(224, 242, 254, 0.96);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.ft-no-access-info span {
  color: rgba(203, 213, 225, 0.82);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

.ft-no-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ft-no-access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.ft-no-access-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.ft-no-access-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ft-no-access-btn-primary:hover {
  color: #020617;
  filter: brightness(1.04);
}

.ft-no-access-btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.9);
}

.ft-no-access-btn-secondary:hover {
  color: #f8fafc;
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(14, 165, 233, 0.1);
}

@media (max-width: 640px) {
  .ft-no-access-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
  }

  .ft-no-access-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 19px;
  }

  .ft-no-access-title {
    font-size: 28px;
  }

  .ft-no-access-subtitle,
  .ft-no-access-info span {
    font-size: 13px;
  }

  .ft-no-access-actions {
    flex-direction: column;
  }

  .ft-no-access-btn {
    width: 100%;
  }
}
/* =========================================================
   FairTicks - Pay / Invoice Payment Page
   File: application/default/views/pay.phtml
   ========================================================= */

.ft-pay-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-pay-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-pay-kicker,
.ft-pay-payment-kicker {
  margin-bottom: 7px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-pay-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-pay-subtitle {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-pay-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.ft-pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.ft-pay-summary,
.ft-pay-payment {
  min-width: 0;
}

.ft-pay-payment-card {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-pay-payment-header {
  margin-bottom: 18px;
}

.ft-pay-payment-title {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ft-pay-payment-subtitle {
  margin: 8px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.ft-pay-form-wrap {
  min-width: 0;
}

.ft-pay-form-wrap form,
.ft-pay-form-wrap #pay-form {
  width: 100%;
  margin: 0;
}

.ft-pay-form-wrap .am-row {
  margin-bottom: 15px;
}

.ft-pay-form-wrap label {
  color: rgba(226, 232, 240, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.ft-pay-form-wrap input[type="text"],
.ft-pay-form-wrap input[type="email"],
.ft-pay-form-wrap input[type="password"],
.ft-pay-form-wrap input[type="number"],
.ft-pay-form-wrap select,
.ft-pay-form-wrap textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
}

.ft-pay-form-wrap input[type="text"]:focus,
.ft-pay-form-wrap input[type="email"]:focus,
.ft-pay-form-wrap input[type="password"]:focus,
.ft-pay-form-wrap input[type="number"]:focus,
.ft-pay-form-wrap select:focus,
.ft-pay-form-wrap textarea:focus {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.ft-pay-form-wrap input[type="submit"],
.ft-pay-form-wrap button,
.ft-pay-form-wrap .am-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ft-pay-form-wrap input[type="submit"]:hover,
.ft-pay-form-wrap button:hover,
.ft-pay-form-wrap .am-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .ft-pay-grid {
    grid-template-columns: 1fr;
  }

  .ft-pay-payment {
    order: -1;
  }
}

@media (max-width: 640px) {
  .ft-pay-hero {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .ft-pay-status {
    align-self: flex-start;
  }

  .ft-pay-payment-card {
    padding: 18px;
    border-radius: 20px;
  }

  .ft-pay-payment-title {
    font-size: 20px;
  }

  .ft-pay-form-wrap input[type="submit"],
  .ft-pay-form-wrap button,
  .ft-pay-form-wrap .am-cta {
    width: 100%;
  }
}
/* =========================================================
   FairTicks - Payment Confirmation Page
   File: application/default/views/payment-confirm.phtml
   ========================================================= */

.ft-payment-confirm-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-payment-confirm-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-payment-confirm-kicker,
.ft-payment-confirm-panel-kicker {
  margin-bottom: 7px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-payment-confirm-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-payment-confirm-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-payment-confirm-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.ft-payment-confirm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.ft-payment-confirm-receipt,
.ft-payment-confirm-panel {
  min-width: 0;
}

.ft-payment-confirm-panel-card {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-payment-confirm-panel-title {
  margin: 0;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ft-payment-confirm-panel-text {
  margin: 9px 0 0;
  color: rgba(203, 213, 225, 0.8);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-payment-confirm-note {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.1), transparent 34%),
    rgba(120, 53, 15, 0.12);
  color: rgba(254, 243, 199, 0.86);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.ft-payment-confirm-actions {
  margin-top: 18px;
}

.ft-payment-confirm-form {
  width: 100%;
  margin: 0;
}

.ft-payment-confirm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.ft-payment-confirm-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 22px 48px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ft-payment-confirm-submit:active {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .ft-payment-confirm-grid {
    grid-template-columns: 1fr;
  }

  .ft-payment-confirm-panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  .ft-payment-confirm-hero {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .ft-payment-confirm-status {
    align-self: flex-start;
  }

  .ft-payment-confirm-panel-card {
    padding: 18px;
    border-radius: 20px;
  }

  .ft-payment-confirm-panel-title {
    font-size: 22px;
  }
}
/* =========================================================
   FairTicks - Payment Redirect / Processing Page
   File: application/default/views/payment.phtml
   ========================================================= */

.ft-payment-processing-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-payment-processing-hero {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 28px 80px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.ft-payment-processing-loader {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.16), transparent 58%),
    rgba(15, 23, 42, 0.78);
}

.ft-payment-processing-loader::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.18);
  border-top-color: #67e8f9;
  animation: ft-payment-spin 0.9s linear infinite;
}

.ft-payment-processing-loader span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.7);
}

@keyframes ft-payment-spin {
  to {
    transform: rotate(360deg);
  }
}

.ft-payment-processing-content {
  min-width: 0;
  flex: 1;
}

.ft-payment-processing-kicker {
  margin-bottom: 7px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-payment-processing-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-payment-processing-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.8);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-payment-processing-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ft-payment-processing-step {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.64);
  color: rgba(203, 213, 225, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.ft-payment-processing-step.is-active {
  border-color: rgba(34, 211, 238, 0.24);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
}

.ft-payment-processing-receipt {
  width: 100%;
  margin-bottom: 22px;
}

.ft-payment-redirect-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96));
  box-shadow:
    0 18px 48px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
  text-align: center;
}

.ft-payment-redirect-form {
  margin: 0;
}

.ft-payment-noscript {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(120, 53, 15, 0.12);
  text-align: left;
}

.ft-payment-noscript strong {
  color: #fffbeb;
  font-size: 13px;
  font-weight: 900;
}

.ft-payment-noscript span {
  color: rgba(254, 243, 199, 0.84);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

.ft-payment-continue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.ft-payment-continue-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 22px 48px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
  .ft-payment-processing-hero {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .ft-payment-processing-loader {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .ft-payment-processing-title {
    font-size: 28px;
  }

  .ft-payment-processing-subtitle {
    font-size: 13px;
  }

  .ft-payment-redirect-card {
    padding: 16px;
    border-radius: 20px;
  }
}
/* =========================================================
   FairTicks - Thank You / Payment Result Page
   File: application/default/views/thanks.phtml
   ========================================================= */

.ft-thanks-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-thanks-card,
.ft-thanks-login-offer-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 28px 80px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-thanks-card-success,
.ft-thanks-card-ready {
  border-color: rgba(34, 197, 94, 0.22);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
}

.ft-thanks-card-review {
  border-color: rgba(251, 191, 36, 0.24);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(120, 53, 15, 0.24), rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
}

.ft-thanks-card-waiting {
  border-color: rgba(34, 211, 238, 0.22);
}

.ft-thanks-icon,
.ft-thanks-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.2), transparent 50%),
    rgba(14, 165, 233, 0.12);
  color: #67e8f9;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.ft-thanks-icon-success {
  border-color: rgba(34, 197, 94, 0.34);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.2), transparent 50%),
    rgba(22, 163, 74, 0.12);
  color: #bbf7d0;
}

.ft-thanks-loader {
  position: relative;
}

.ft-thanks-loader::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.18);
  border-top-color: #67e8f9;
  animation: ft-thanks-spin 0.9s linear infinite;
}

.ft-thanks-loader span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.7);
}

@keyframes ft-thanks-spin {
  to {
    transform: rotate(360deg);
  }
}

.ft-thanks-content {
  min-width: 0;
  flex: 1;
}

.ft-thanks-kicker {
  margin-bottom: 7px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-thanks-card-review .ft-thanks-kicker {
  color: rgba(253, 230, 138, 0.96);
}

.ft-thanks-card-success .ft-thanks-kicker,
.ft-thanks-card-ready .ft-thanks-kicker {
  color: rgba(187, 247, 208, 0.96);
}

.ft-thanks-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-thanks-subtitle {
  max-width: 780px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.8);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-thanks-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(120, 53, 15, 0.12);
  color: rgba(254, 243, 199, 0.9);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.ft-thanks-message strong {
  color: #fffbeb;
}

.ft-thanks-next,
.ft-thanks-refresh {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    rgba(15, 23, 42, 0.72);
  color: rgba(224, 242, 254, 0.86);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ft-thanks-payment-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ft-thanks-payment-details div {
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    rgba(15, 23, 42, 0.72);
}

.ft-thanks-payment-details span {
  display: block;
  margin-bottom: 6px;
  color: rgba(148, 163, 184, 0.88);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ft-thanks-payment-details strong {
  display: block;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ft-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ft-thanks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.ft-thanks-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.ft-thanks-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ft-thanks-btn-primary:hover {
  color: #020617;
  filter: brightness(1.04);
}

.ft-thanks-receipt-wrap {
  margin-bottom: 24px;
}

.ft-thanks-login-offer-card {
  display: block;
}

.ft-thanks-login-offer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.ft-thanks-login-offer-kicker {
  margin-bottom: 6px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-thanks-login-offer-content h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ft-thanks-login-offer-content p {
  margin: 8px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .ft-thanks-payment-details {
    grid-template-columns: 1fr;
  }

  .ft-thanks-login-offer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ft-thanks-card,
  .ft-thanks-login-offer-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .ft-thanks-icon,
  .ft-thanks-loader {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 19px;
  }

  .ft-thanks-title {
    font-size: 28px;
  }

  .ft-thanks-subtitle,
  .ft-thanks-message,
  .ft-thanks-next,
  .ft-thanks-refresh {
    font-size: 13px;
  }

  .ft-thanks-btn {
    width: 100%;
  }
}
/* =========================================================
   FairTicks - Unsubscribe / Subscription Preferences
   File: application/default/views/unsubscribe.phtml
   ========================================================= */

.ft-unsubscribe-page {
  width: 100%;
  box-sizing: border-box;
}

.ft-unsubscribe-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-unsubscribe-kicker,
.ft-unsubscribe-card-kicker {
  margin-bottom: 7px;
  color: rgba(125, 211, 252, 0.96);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-unsubscribe-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ft-unsubscribe-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ft-unsubscribe-email-card {
  min-width: 230px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 34%),
    rgba(15, 23, 42, 0.72);
}

.ft-unsubscribe-email-card span {
  display: block;
  margin-bottom: 5px;
  color: rgba(148, 163, 184, 0.88);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ft-unsubscribe-email-card strong {
  display: block;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ft-unsubscribe-form {
  width: 100%;
  margin: 0;
}

.ft-unsubscribe-card {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ft-unsubscribe-card-header {
  margin-bottom: 18px;
}

.ft-unsubscribe-card-title {
  margin: 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ft-unsubscribe-list {
  display: grid;
  gap: 12px;
}

.ft-unsubscribe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.07), transparent 34%),
    rgba(15, 23, 42, 0.68);
}

.ft-unsubscribe-row-system {
  border-color: rgba(251, 191, 36, 0.2);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.08), transparent 34%),
    rgba(15, 23, 42, 0.68);
}

.ft-unsubscribe-row-content {
  min-width: 0;
}

.ft-unsubscribe-row-title {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.ft-unsubscribe-row-desc {
  margin-top: 5px;
  color: rgba(203, 213, 225, 0.76);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.ft-unsubscribe-choice-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ft-unsubscribe-choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(14, 165, 233, 0.1);
  color: rgba(224, 242, 254, 0.92);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.ft-unsubscribe-choice:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(14, 165, 233, 0.15);
  color: #ffffff;
}

.ft-unsubscribe-choice-muted {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.62);
  color: rgba(203, 213, 225, 0.78);
}

.ft-unsubscribe-choice input {
  width: auto;
  min-height: auto;
  margin: 0;
  accent-color: #22d3ee;
}

.ft-unsubscribe-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.ft-unsubscribe-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #020617;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.ft-unsubscribe-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 22px 48px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 820px) {
  .ft-unsubscribe-hero {
    flex-direction: column;
  }

  .ft-unsubscribe-email-card {
    width: 100%;
  }

  .ft-unsubscribe-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .ft-unsubscribe-choice-group {
    width: 100%;
    white-space: normal;
  }

  .ft-unsubscribe-choice {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .ft-unsubscribe-hero,
  .ft-unsubscribe-card {
    padding: 18px;
    border-radius: 22px;
  }

  .ft-unsubscribe-title {
    font-size: 28px;
  }

  .ft-unsubscribe-subtitle,
  .ft-unsubscribe-row-desc {
    font-size: 13px;
  }

  .ft-unsubscribe-choice-group {
    flex-direction: column;
    align-items: stretch;
  }

  .ft-unsubscribe-submit {
    width: 100%;
  }
}