/* JB 11.14.2026 - SCORING season license purchase + confirmation (INSIGHT/Purchase_Subscription*.aspx).
   Phone-first, one column, everything scoped to .pss so the INSIGHT master and Bootstrap 3 stay untouched. */

.pss {
    --pss-accent: var(--sf-primary, #2b5797);
    --pss-accent-soft: #eaf0f8;
    --pss-text: #1f2328;
    --pss-muted: #5f6b7a;
    --pss-line: #d9dee5;
    --pss-bg: #ffffff;
    --pss-page: #f2f4f7;
    --pss-ok: #1a7f37;
    --pss-ok-soft: #e7f5ec;
    --pss-warn: #9a6700;
    --pss-warn-soft: #fff4d6;
    --pss-danger: #b42318;
    --pss-danger-soft: #fdecea;
    color: var(--pss-text);
    font-size: 16px;
    line-height: 1.45;
    background: var(--pss-page);
    margin: 0;
    padding: 0 0 48px;
    box-sizing: border-box;
}

.pss *, .pss *::before, .pss *::after { box-sizing: border-box; }

.pss-wrap { max-width: 720px; margin: 0 auto; padding: 0 12px; }

/* ----- Header ----- */

.pss-hero { padding: 22px 0 10px; }
.pss .pss-hero h1 { font-size: 26px; font-weight: 800; margin: 0 0 6px; line-height: 1.2; }
.pss-hero p { margin: 0; color: var(--pss-muted); font-size: 16px; }

.pss-howto {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 14px 0 4px;
    counter-reset: pss;
}
.pss-howto li {
    flex: 1 1 0;
    counter-increment: pss;
    background: var(--pss-bg);
    border: 1px solid var(--pss-line);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    color: var(--pss-muted);
}
.pss-howto li::before {
    content: counter(pss);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pss-accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    margin-right: 6px;
}
.pss-howto b { color: var(--pss-text); }

/* ----- Cards ----- */

.pss-card {
    background: var(--pss-bg);
    border: 1px solid var(--pss-line);
    border-radius: 12px;
    padding: 16px;
    margin: 14px 0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.pss .pss-card h2 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.pss .pss-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.pss-step {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--pss-accent);
    margin-bottom: 4px;
}
.pss-muted { color: var(--pss-muted); font-size: 14px; }
.pss-card p { margin: 0 0 8px; }
.pss-card ol, .pss-card ul { margin: 0 0 8px; padding-left: 22px; }
.pss-card li { margin-bottom: 4px; }

/* ----- Form controls ----- */

.pss label.pss-label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.pss select.pss-select {
    display: block;
    width: 100%;
    min-height: 48px;
    font-size: 17px;
    padding: 8px 12px;
    border: 1px solid #b8c0cc;
    border-radius: 10px;
    background-color: #fff;
    color: var(--pss-text);
    text-align: left;
    white-space: normal;
}
.pss select.pss-select:focus { outline: 3px solid rgba(43, 87, 151, .3); border-color: var(--pss-accent); }

/* ----- Buttons (plain links, asp:LinkButton and DevExpress BootstrapButton) ----- */

.pss .pss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: normal;
    text-align: center;
}
.pss .pss-btn:focus-visible { outline: 3px solid rgba(43, 87, 151, .35); outline-offset: 2px; }
.pss .pss-btn-primary { background: var(--pss-accent); color: #fff; border-color: var(--pss-accent); }
.pss .pss-btn-primary:hover, .pss .pss-btn-primary:focus { filter: brightness(1.08); color: #fff; }
.pss .pss-btn-secondary { background: #fff; color: var(--pss-accent); border-color: var(--pss-accent); }
.pss .pss-btn-secondary:hover, .pss .pss-btn-secondary:focus { background: var(--pss-accent-soft); color: var(--pss-accent); }
.pss .pss-btn-link {
    background: none;
    border: 0;
    color: var(--pss-accent);
    padding: 8px 4px;
    min-height: 40px;
    font-weight: 600;
    text-decoration: underline;
}
.pss .pss-btn-block { display: flex; width: 100%; }
.pss .pss-btn-lg { min-height: 54px; font-size: 18px; }

.pss-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pss-actions > * { flex: 1 1 200px; }
.pss-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }

/* ----- Season list (BootstrapGridView rendered as cards) ----- */

.pss-seasons table, .pss-seasons tbody, .pss-seasons tr, .pss-seasons td {
    display: block;
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}
.pss-seasons .table { margin: 0; }
.pss-seasons .dxbs-gridview, .pss-seasons .panel, .pss-seasons .card { border: 0 !important; box-shadow: none !important; background: transparent !important; }

.pss-season {
    border: 1px solid var(--pss-line);
    border-radius: 12px;
    padding: 14px;
    margin: 0 0 12px;
    background: #fff;
}
.pss-season.is-paid { border-color: #9fd3ad; background: #fbfefc; }
.pss-season-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pss-season-name { font-size: 18px; font-weight: 700; }
.pss-price { font-size: 24px; font-weight: 800; margin-top: 6px; }
.pss-price.is-missing { font-size: 15px; font-weight: 600; color: var(--pss-warn); }
.pss-paidline { margin-top: 6px; color: var(--pss-ok); font-weight: 600; }

.pss-chip {
    flex: 0 0 auto;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    background: #eef1f5;
    color: var(--pss-muted);
}
.pss-chip.is-paid { background: var(--pss-ok-soft); color: var(--pss-ok); }
.pss-chip.is-current { background: var(--pss-accent-soft); color: var(--pss-accent); }

.pss-empty { text-align: center; color: var(--pss-muted); padding: 10px 0; margin: 0; }

.pss-admin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--pss-line);
    font-size: 13px;
    color: var(--pss-muted);
}

/* ----- Checkout summary ----- */

.pss-summary { margin: 0 0 14px; border: 1px solid var(--pss-line); border-radius: 10px; overflow: hidden; }
.pss-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--pss-line); }
.pss-summary-row:last-child { border-bottom: 0; background: var(--pss-accent-soft); font-weight: 800; font-size: 18px; }
.pss-summary-row span:first-child { color: var(--pss-muted); }
.pss-summary-row:last-child span:first-child { color: var(--pss-text); }
.pss-summary-row span:last-child { text-align: right; font-weight: 700; }

/* ----- Messages ----- */

.pss-msg { border-radius: 12px; padding: 14px 16px; margin: 14px 0; border: 1px solid; }
.pss .pss-msg h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.pss-msg p { margin: 0 0 4px; }
.pss-msg-error { background: var(--pss-danger-soft); border-color: #f3b8b1; color: #7a1a12; }
.pss-msg-warn { background: var(--pss-warn-soft); border-color: #f0d48a; color: #5c3d00; }
.pss-msg-ok { background: var(--pss-ok-soft); border-color: #9fd3ad; color: #0f5323; }
.pss-msg-info { background: var(--pss-accent-soft); border-color: #bccbe3; }

/* ----- Confirmation ----- */

.pss-receipt-total { font-size: 30px; font-weight: 800; margin: 4px 0 12px; }

@media (max-width: 520px) {
    .pss .pss-hero h1 { font-size: 22px; }
    .pss-howto { flex-direction: column; }
    .pss-actions > * { flex-basis: 100%; }
}

@media print {
    .pss { background: #fff; }
    .pss-noprint, .navbar, footer { display: none !important; }
    .pss-card { border: 0; box-shadow: none; }
}
