/* =====================================================
   KICKWISE — SUPPORT PAGE
   Clean support layout. Hero uses the global hero system.
===================================================== */

.kw-support-page,
.kw-support-page * {
    box-sizing: border-box;
}

.kw-support-page {
    --kw-support-display-font: var(--kw-hero-display-font, "Ubuntu Local", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);

    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 92px;
}

.kw-support-hero {
    padding-bottom: 62px;
}

.kw-support-hero__lead {
    width: min(100%, 940px);
}

.kw-support-form-wrap {
    width: min(100%, 930px);
    margin: 0 auto;
    padding-top: 4px;
}

.kw-support-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(0, 49, 114, .11);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
    box-shadow:
        0 1px 0 rgba(255,255,255,.96) inset,
        0 16px 38px rgba(0,49,114,.038);
}

.kw-support-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    z-index: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,49,114,.075), transparent);
    pointer-events: none;
}

.kw-support-panel > * {
    position: relative;
    z-index: 1;
}

.kw-support-panel__head {
    padding: 30px 32px 22px;
    border-bottom: 1px solid rgba(0, 49, 114, .075);
}

.kw-support-panel__eyebrow {
    margin: 0 0 10px;
    color: rgba(0, 49, 114, .54);
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.kw-support-panel__title {
    margin: 0;
    color: #003172;
    font-family: var(--kw-support-display-font);
    font-size: clamp(21px, 2.2vw, 32px);
    font-weight: 520;
    line-height: 1.12;
    letter-spacing: -.042em;
    text-wrap: balance;
}


.kw-support-split-heading strong,
.kw-support-split-heading span {
    display: inline;
}

.kw-support-split-heading strong {
    color: #003172;
    font-weight: 760;
}

.kw-support-split-heading span {
    color: transparent;
    background: linear-gradient(180deg, #003172 0%, #245f9d 58%, rgba(47, 126, 219, .46) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 500;
}

.kw-support-panel__copy {
    max-width: 720px;
    margin: 12px 0 0;
    color: rgba(0, 49, 114, .62);
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 420;
    line-height: 1.72;
    letter-spacing: -.012em;
}

.kw-support-panel__body {
    padding: 28px 32px 32px;
}

.kw-support-alert {
    margin-bottom: 18px;
    border: 1px solid rgba(20, 122, 80, .18);
    border-radius: 16px;
    background: rgba(20, 122, 80, .070);
    color: #147a50;
    padding: 14px 15px;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 620;
    line-height: 1.62;
}

.kw-support-ref {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-top: 8px;
    padding: 0 10px;
    border: 1px solid rgba(20, 122, 80, .18);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    color: #003172;
    font-weight: 760;
    letter-spacing: .04em;
}

.kw-support-form {
    display: grid;
    gap: 18px;
}

.kw-support-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.kw-support-field {
    display: grid;
    gap: 8px;
}

.kw-support-field label {
    color: rgba(0, 49, 114, .55);
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.kw-support-input,
.kw-support-select,
.kw-support-textarea {
    width: 100%;
    border: 1px solid rgba(0, 49, 114, .11);
    border-radius: 13px;
    background: rgba(255,255,255,.92);
    color: #0f172a;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 13.2px;
    font-weight: 500;
    outline: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.kw-support-input,
.kw-support-select {
    min-height: 46px;
    padding: 0 14px;
}

.kw-support-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23003172' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
}

.kw-support-textarea {
    min-height: 184px;
    padding: 14px;
    resize: vertical;
    line-height: 1.72;
}

.kw-support-input:focus,
.kw-support-select:focus,
.kw-support-textarea:focus {
    border-color: rgba(0, 49, 114, .26);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(0, 49, 114, .055),
        inset 0 1px 0 rgba(255,255,255,.86);
}

.kw-support-input[readonly] {
    background: rgba(248,250,252,.92);
    color: rgba(15,23,42,.62);
    cursor: not-allowed;
}

.kw-support-error {
    margin: 0;
    color: #b42318;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

.kw-support-form__foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-top: 2px;
}

.kw-support-submit {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #003172;
    border-radius: 13px;
    background: #003172;
    color: #ffffff;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 12.8px;
    font-weight: 560;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(0,49,114,.16);
}

.kw-support-submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -76%;
    z-index: 0;
    width: 46%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.72), transparent);
    transform: skewX(-18deg);
    transition: left .64s ease;
    pointer-events: none;
}

.kw-support-submit span {
    position: relative;
    z-index: 1;
}

.kw-support-submit:hover::after {
    left: 132%;
}

.kw-support-note {
    max-width: 560px;
    margin: 2px 0 0;
    color: rgba(0, 49, 114, .50);
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 12.4px;
    font-weight: 420;
    line-height: 1.62;
    letter-spacing: -.006em;
}

.kw-support-utility-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    width: min(100%, 930px);
    margin: 20px auto 0;
}

.kw-support-utility {
    padding: 24px;
    border: 1px solid rgba(0, 49, 114, .095);
    border-radius: 22px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 14px 32px rgba(0,49,114,.035);
}

.kw-support-utility__title {
    margin: 0;
    color: #003172;
    font-family: var(--kw-support-display-font);
    font-size: clamp(21px, 2.2vw, 32px);
    font-weight: 520;
    line-height: 1.12;
    letter-spacing: -.042em;
    text-wrap: balance;
}

.kw-support-utility__copy {
    margin: 10px 0 0;
    color: rgba(0, 49, 114, .60);
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 13.4px;
    font-weight: 420;
    line-height: 1.68;
    letter-spacing: -.01em;
}

.kw-support-ticket-account-note {
    margin: 12px 0 0;
    color: rgba(0, 49, 114, .54);
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 12.4px;
    font-weight: 430;
    line-height: 1.62;
    letter-spacing: -.006em;
}

.kw-support-ticket-account-note a {
    color: #003172;
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,49,114,.18);
    transition: color .18s ease, border-color .18s ease;
}

.kw-support-ticket-account-note a:hover {
    color: #1f61ad;
    border-bottom-color: rgba(31,97,173,.32);
}

.kw-support-tracker {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.kw-support-tracker .kw-support-submit {
    width: max-content;
    min-height: 40px;
    padding-inline: 16px;
    font-size: 12.4px;
}

.kw-ticket-result {
    margin-top: 16px;
    padding: 15px;
    border: 1px solid rgba(0,49,114,.10);
    border-radius: 16px;
    background: rgba(248,251,255,.92);
}

.kw-ticket-result strong {
    display: block;
    margin-bottom: 5px;
    color: #003172;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 13.8px;
    font-weight: 650;
    line-height: 1.45;
}

.kw-ticket-result p {
    margin: 0;
    color: rgba(0, 49, 114, .58);
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 12.8px;
    line-height: 1.62;
}

.kw-ticket-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-top: 9px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(0,49,114,.08);
    color: #003172;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 760;
    line-height: 1;
    text-transform: capitalize;
}

.kw-support-topic-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.kw-support-topic {
    padding-top: 16px;
    border-top: 1px solid rgba(0, 49, 114, .075);
}

.kw-support-topic:first-child {
    padding-top: 0;
    border-top: 0;
}

.kw-support-topic h3 {
    margin: 0;
    color: #003172;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 13.6px;
    font-weight: 660;
    line-height: 1.45;
    letter-spacing: -.018em;
}

.kw-support-topic p {
    margin: 6px 0 0;
    color: rgba(0, 49, 114, .58);
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 12.8px;
    font-weight: 420;
    line-height: 1.66;
    letter-spacing: -.008em;
}

html[data-theme="dark"] .kw-support-panel {
    border-color: rgba(255,255,255,.095);
    background: linear-gradient(180deg, rgba(255,255,255,.050), rgba(255,255,255,.032));
    box-shadow:
        0 1px 0 rgba(255,255,255,.050) inset,
        0 18px 44px rgba(0,0,0,.22);
}

html[data-theme="dark"] .kw-support-panel::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.11), transparent);
}

html[data-theme="dark"] .kw-support-panel__head {
    border-bottom-color: rgba(255,255,255,.075);
}

html[data-theme="dark"] .kw-support-panel__eyebrow,
html[data-theme="dark"] .kw-support-field label,
html[data-theme="dark"] .kw-support-note {
    color: rgba(226,232,240,.54);
}

html[data-theme="dark"] .kw-support-panel__title,
html[data-theme="dark"] .kw-support-utility__title,
html[data-theme="dark"] .kw-support-topic h3,
html[data-theme="dark"] .kw-ticket-result strong {
    color: #ffffff;
}

html[data-theme="dark"] .kw-support-panel__copy,
html[data-theme="dark"] .kw-support-utility__copy,
html[data-theme="dark"] .kw-support-topic p,
html[data-theme="dark"] .kw-ticket-result p {
    color: rgba(226,232,240,.66);
}

html[data-theme="dark"] .kw-support-alert {
    border-color: rgba(143,240,189,.18);
    background: rgba(143,240,189,.08);
    color: #8ff0bd;
}

html[data-theme="dark"] .kw-support-ref {
    border-color: rgba(143,240,189,.18);
    background: rgba(255,255,255,.06);
    color: #ffffff;
}

html[data-theme="dark"] .kw-support-input,
html[data-theme="dark"] .kw-support-select,
html[data-theme="dark"] .kw-support-textarea {
    border-color: rgba(255,255,255,.11);
    background: rgba(255,255,255,.060);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.040);
}

html[data-theme="dark"] .kw-support-input:focus,
html[data-theme="dark"] .kw-support-select:focus,
html[data-theme="dark"] .kw-support-textarea:focus {
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.082);
    box-shadow:
        0 0 0 4px rgba(255,255,255,.055),
        inset 0 1px 0 rgba(255,255,255,.060);
}

html[data-theme="dark"] .kw-support-input[readonly] {
    background: rgba(255,255,255,.040);
    color: rgba(226,232,240,.60);
}

html[data-theme="dark"] .kw-support-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f8fafc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .kw-support-submit {
    border-color: #ffffff;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 14px 32px rgba(255,255,255,.08);
}

html[data-theme="dark"] .kw-support-submit::after {
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.90), transparent);
}

html[data-theme="dark"] .kw-support-utility {
    border-color: rgba(255,255,255,.085);
    background: rgba(255,255,255,.038);
    box-shadow: none;
}

html[data-theme="dark"] .kw-support-ticket-account-note {
    color: rgba(226,232,240,.58);
}

html[data-theme="dark"] .kw-support-ticket-account-note a {
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,.18);
}

html[data-theme="dark"] .kw-support-ticket-account-note a:hover {
    color: rgba(236,244,255,.88);
    border-bottom-color: rgba(255,255,255,.34);
}

html[data-theme="dark"] .kw-ticket-result {
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.045);
}

html[data-theme="dark"] .kw-ticket-status {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.88);
}

html[data-theme="dark"] .kw-support-topic {
    border-top-color: rgba(255,255,255,.075);
}

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

@media (max-width: 640px) {
    .kw-support-page {
        width: min(100% - 22px, 1180px);
        padding-bottom: 78px;
    }

    .kw-support-hero {
        padding-bottom: 44px;
    }

    .kw-support-panel {
        border-radius: 22px;
    }

    .kw-support-panel__head,
    .kw-support-panel__body {
        padding-inline: 20px;
    }

    .kw-support-panel__head {
        padding-top: 24px;
        padding-bottom: 18px;
    }

    .kw-support-panel__body {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .kw-support-two {
        grid-template-columns: 1fr;
    }

    .kw-support-form__foot {
        display: grid;
        gap: 12px;
    }

    .kw-support-submit,
    .kw-support-tracker .kw-support-submit {
        width: 100%;
    }

    .kw-support-utility {
        padding: 20px;
        border-radius: 20px;
    }
}

/* =====================================================
   KICKWISE — Profile Tickets page
   Dashboard-aligned header rhythm and clean ticket list
===================================================== */

.kw-profile-tickets-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 76px;
}

.kw-profile-tickets-hero {
    margin-bottom: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(15, 23, 42, .075);
}

.kw-profile-tickets-kicker {
    margin: 0 0 8px;
    color: #8a97a8;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.kw-profile-tickets-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.04;
    letter-spacing: -.06em;
    font-weight: 690;
}

.kw-profile-tickets-copy {
    max-width: 760px;
    margin: 10px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}

.kw-profile-ticket-card,
.kw-profile-ticket-empty {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.kw-profile-ticket-list {
    display: grid;
}

.kw-profile-ticket-row {
    display: grid;
    grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, .065);
    background: #fff;
}

.kw-profile-ticket-row:last-child {
    border-bottom: 0;
}

.kw-profile-ticket-ref {
    margin: 0;
    color: #003172;
    font-size: 13px;
    font-weight: 680;
    letter-spacing: .025em;
}

.kw-profile-ticket-meta {
    margin: 5px 0 0;
    color: #8a97a8;
    font-size: 12px;
    text-transform: capitalize;
}

.kw-profile-ticket-topic {
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 660;
    letter-spacing: -.018em;
}

.kw-profile-ticket-msg {
    margin: 5px 0 0;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.55;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-profile-ticket-status {
    color: #667085;
    font-size: 12px;
    font-weight: 650;
    text-transform: capitalize;
    white-space: nowrap;
}

.kw-profile-ticket-empty {
    padding: 28px 22px;
    color: #667085;
    font-size: 14px;
    line-height: 1.62;
}

.kw-profile-ticket-pagination {
    margin-top: 18px;
}

html[data-theme="dark"] .kw-profile-tickets-hero {
    border-bottom-color: rgba(255, 255, 255, .085);
}

html[data-theme="dark"] .kw-profile-tickets-title,
html[data-theme="dark"] .kw-profile-ticket-topic {
    color: #f5f8fc;
}

html[data-theme="dark"] .kw-profile-tickets-kicker,
html[data-theme="dark"] .kw-profile-tickets-copy,
html[data-theme="dark"] .kw-profile-ticket-msg,
html[data-theme="dark"] .kw-profile-ticket-meta,
html[data-theme="dark"] .kw-profile-ticket-status,
html[data-theme="dark"] .kw-profile-ticket-empty {
    color: #9aa8ba;
}

html[data-theme="dark"] .kw-profile-ticket-card,
html[data-theme="dark"] .kw-profile-ticket-empty {
    border-color: rgba(255, 255, 255, .085);
    background: rgba(12, 12, 14, .96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .kw-profile-ticket-row {
    border-bottom-color: rgba(255, 255, 255, .075);
    background: rgba(12, 12, 14, .94);
}

html[data-theme="dark"] .kw-profile-ticket-ref {
    color: #edf1f7;
}

@media (max-width: 720px) {
    .kw-profile-tickets-page {
        width: min(100% - 22px, 1120px);
        padding: 28px 0 58px;
    }

    .kw-profile-ticket-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 15px;
    }

    .kw-profile-ticket-msg {
        white-space: normal;
    }
}


html[data-theme="dark"] .kw-support-split-heading strong {
    color: #f8fafc;
}

html[data-theme="dark"] .kw-support-split-heading span {
    color: transparent;
    background: linear-gradient(180deg, #f8fafc 0%, #d9dee7 48%, rgba(148, 163, 184, .54) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
