/* ==========================================================================
   Tesla Invest â€” client area + auth system
   Hand-built skin for the panel shell, auth screens and account pages.
   Loaded after styles.css; every rule is scoped to body.tp or body.ta.
   ========================================================================== */

:root {
    --tp-ink: #04060b;
    --tp-ink-2: #070a12;
    --tp-surface: #0a0f19;
    --tp-surface-2: #0d1421;
    --tp-surface-3: #111a29;
    --tp-line: rgba(255, 255, 255, 0.075);
    --tp-line-2: rgba(255, 255, 255, 0.14);
    --tp-text: #e9eef7;
    --tp-muted: #93a0b5;
    --tp-muted-2: #6f7c92;
    --tp-red: #e0102e;
    --tp-red-2: #ff3b4f;
    --tp-red-dim: rgba(224, 16, 46, 0.14);
    --tp-green: #1fd286;
    --tp-green-dim: rgba(31, 210, 134, 0.12);
    --tp-amber: #f5b455;
    --tp-blue: #4c8dff;
    --tp-radius-sm: 12px;
    --tp-radius: 18px;
    --tp-radius-lg: 26px;
    --tp-shadow: 0 26px 70px -30px rgba(0, 0, 0, 0.9);
    --tp-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --tp-side: 288px;
    --tp-head: 70px;
    --tp-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

body.tp,
body.ta {
    margin: 0;
    background: var(--tp-ink);
    color: var(--tp-text);
    font-family: var(--tp-font);
    font-size: 15px;
    line-height: 1.62;
    letter-spacing: -0.006em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.tp::before,
body.ta::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(900px 520px at 82% -10%, rgba(224, 16, 46, 0.14), transparent 62%),
        radial-gradient(760px 460px at 2% 4%, rgba(58, 106, 196, 0.12), transparent 64%);
}

body.ta::before {
    background:
        radial-gradient(1100px 700px at 88% -14%, rgba(224, 16, 46, 0.22), transparent 62%),
        radial-gradient(900px 620px at -6% 26%, rgba(38, 78, 156, 0.2), transparent 66%),
        radial-gradient(700px 700px at 60% 120%, rgba(224, 16, 46, 0.1), transparent 60%);
}

body.tp h1, body.tp h2, body.tp h3, body.tp h4, body.tp h5,
body.ta h1, body.ta h2, body.ta h3, body.ta h4 {
    font-family: var(--tp-font);
    font-weight: 700;
    letter-spacing: -0.028em;
    color: #fff;
    margin: 0;
}

body.tp a { color: inherit; text-decoration: none; transition: color 0.18s ease, opacity 0.18s ease; }
body.tp a:hover { color: #fff; }
body.tp img { max-width: 100%; }
body.tp p { margin: 0; }

body.tp ::selection,
body.ta ::selection {
    background: rgba(224, 16, 46, 0.34);
    color: #fff;
}

body.tp ::-webkit-scrollbar { width: 10px; height: 10px; }
body.tp ::-webkit-scrollbar-track { background: #05080e; }
body.tp ::-webkit-scrollbar-thumb {
    background: #1b2434;
    border-radius: 20px;
    border: 2px solid #05080e;
}
body.tp ::-webkit-scrollbar-thumb:hover { background: #2a364a; }

/* micro label */
.tp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tp-muted-2);
    margin-bottom: 10px;
}

.tp-eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--tp-red);
    display: block;
}

.tp-pos { color: var(--tp-green) !important; }
.tp-neg { color: var(--tp-red-2) !important; }
.tp-mono {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   2. Panel shell
   -------------------------------------------------------------------------- */

body.tp .panel-layout {
    position: relative;
    z-index: 1;
}

/* ---- header ---- */
body.tp .panel-layout .panel-header {
    height: var(--tp-head);
    background: rgba(6, 9, 16, 0.86);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    border-bottom: 1px solid var(--tp-line);
    display: flex;
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 120;
}

body.tp .panel-layout .panel-header .logo {
    width: var(--tp-side);
    flex: 0 0 var(--tp-side);
    background: transparent;
    border-right: 1px solid var(--tp-line);
    border-bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 24px;
    transition: width 0.34s var(--tp-ease), flex-basis 0.34s var(--tp-ease), padding 0.34s var(--tp-ease);
}

body.tp .panel-layout .panel-header .logo img {
    max-height: 30px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

body.tp .panel-layout .panel-header .nav-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 14px;
    min-width: 0;
}

body.tp .panel-layout .panel-header .nav-wrap .nav-left,
body.tp .panel-layout .panel-header .nav-wrap .nav-right,
body.tp .panel-layout .panel-header .nav-wrap .single-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 0;
}
body.tp .panel-layout .panel-header .nav-wrap .single-right { flex: 0 0 auto; }

body.tp .panel-layout .panel-header .sidebar-toggle {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--tp-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--tp-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

body.tp .panel-layout .panel-header .sidebar-toggle:hover {
    color: #fff;
    border-color: var(--tp-line-2);
    background: rgba(255, 255, 255, 0.07);
}

body.tp .panel-layout .panel-header .mob-logo { display: none; }

body.tp .panel-layout .panel-header .single-right {
    display: flex;
    align-items: center;
}

body.tp .panel-layout .panel-header .single-right > .item,
body.tp .panel-layout .panel-header .color-switcher {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--tp-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--tp-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

body.tp .panel-layout .panel-header .single-right > .item:hover,
body.tp .panel-layout .panel-header .color-switcher:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--tp-line-2);
}

body.tp .panel-layout .panel-header .color-switcher i { font-size: 15px; }
body.tp .panel-layout .panel-header .color-switcher .light-icon { display: none; }
body.tp:not(.dark-theme) .panel-layout .panel-header .color-switcher .light-icon { display: inline; }
body.tp:not(.dark-theme) .panel-layout .panel-header .color-switcher .dark-icon { display: none; }

body.tp .panel-layout .panel-header .dropdown-menu {
    background: #0b111c;
    border: 1px solid var(--tp-line-2);
    border-radius: 14px;
    box-shadow: var(--tp-shadow);
    padding: 8px;
    min-width: 220px;
    margin-top: 10px;
}

body.tp .panel-layout .panel-header .dropdown-menu .dropdown-item {
    color: var(--tp-muted);
    border-radius: 9px;
    padding: 9px 12px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.tp .panel-layout .panel-header .dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

body.tp .panel-layout .panel-header .dropdown-menu .logout { border-top: 1px solid var(--tp-line); margin-top: 6px; padding-top: 6px; }

body.tp .nice-select.site-nice-select {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--tp-line) !important;
    color: var(--tp-muted) !important;
    border-radius: 11px !important;
    height: 38px !important;
    line-height: 36px !important;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding-left: 14px !important;
    padding-right: 30px !important;
    min-width: 74px;
    width: auto !important;
}

body.tp .nice-select.site-nice-select::after { border-color: var(--tp-muted-2); }
body.tp .nice-select.site-nice-select .list {
    background: #0b111c;
    border: 1px solid var(--tp-line-2);
    border-radius: 12px;
    box-shadow: var(--tp-shadow);
    width: 100%;
    margin-top: 6px;
}
body.tp .nice-select.site-nice-select .option { color: var(--tp-muted); line-height: 34px; min-height: 34px; font-size: 13px; }
body.tp .nice-select.site-nice-select .option:hover,
body.tp .nice-select.site-nice-select .option.selected { background: rgba(255, 255, 255, 0.06); color: #fff; }

/* notification bubble */
body.tp .notification-list .single-notification,
body.tp .panel-header .dropdown-menu .notification-item { border-color: var(--tp-line); }

/* live quote chip in header */
body.tp .panel-layout .panel-header .tp-head-quote {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 34px;
    padding: 0 14px;
    margin-left: 6px;
    border-radius: 40px;
    border: 1px solid var(--tp-line);
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.tp .panel-layout .panel-header .tp-head-quote .k {
    font-size: 9px;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--tp-muted-2);
}
body.tp .panel-layout .panel-header .tp-head-quote .v { color: #fff; font-weight: 700; }
body.tp .panel-layout .panel-header .tp-head-quote .d { font-size: 11px; font-weight: 600; }

/* account trigger */
body.tp .panel-layout .panel-header .tp-account {
    width: auto !important;
    height: 42px !important;
    padding: 0 10px 0 6px !important;
    border-radius: 40px !important;
    gap: 9px;
    border: 1px solid var(--tp-line) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    min-width: 0;
    overflow: hidden;
}

body.tp .panel-layout .panel-header .tp-account .tp-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e0102e, #ff3b4f);
    box-shadow: 0 6px 16px -8px rgba(224, 16, 46, 0.9);
    flex: 0 0 30px;
}

body.tp .panel-layout .panel-header .tp-account .tp-account-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
    min-width: 0;
    max-width: 150px;
}
body.tp .panel-layout .panel-header .tp-account .tp-account-meta .n {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.tp .panel-layout .panel-header .tp-account .tp-account-meta .e {
    font-size: 10px;
    color: var(--tp-muted-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.tp .panel-layout .panel-header .tp-account > i { font-size: 10px; color: var(--tp-muted-2); }

body.tp .panel-layout .panel-header .tp-account-menu { min-width: 246px; }
body.tp .panel-layout .panel-header .tp-account-menu .tp-account-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--tp-line);
    margin-bottom: 6px;
}
body.tp .panel-layout .panel-header .tp-account-menu .tp-account-head .n { font-size: 13px; font-weight: 600; color: #fff; }
body.tp .panel-layout .panel-header .tp-account-menu .tp-account-head .e { font-size: 11px; color: var(--tp-muted-2); word-break: break-all; }

@media screen and (max-width: 1199.98px) {
    body.tp .panel-layout .panel-header .tp-account .tp-account-meta { display: none; }
    body.tp .panel-layout .panel-header .tp-account { padding: 0 8px !important; }
    body.tp .panel-layout .panel-header .tp-head-quote { display: none; }
}


/* ---- sidebar ---- */
body.tp .panel-layout .side-nav {
    position: fixed;
    top: var(--tp-head);
    bottom: 0;
    left: 0;
    width: var(--tp-side);
    background: linear-gradient(180deg, #070b13 0%, #05080e 100%);
    border-right: 1px solid var(--tp-line);
    z-index: 110;
    transition: width 0.34s var(--tp-ease), transform 0.34s var(--tp-ease);
    overflow: hidden;
}

body.tp .panel-layout .side-nav .side-nav-inside {
    height: calc(100vh - var(--tp-head));
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 14px 26px;
    position: relative;
}

body.tp .panel-layout .side-nav .side-nav-inside::-webkit-scrollbar { width: 6px; }
body.tp .panel-layout .side-nav .side-nav-inside::-webkit-scrollbar-thumb { background: #1a2331; border-radius: 10px; border: 0; }

/* wallet block */
body.tp .panel-layout .side-nav .side-wallet-box {
    margin: 16px 14px 6px;
    padding: 0;
    background: transparent;
    border: 0;
}

body.tp .panel-layout .side-nav .user-balance-card {
    position: relative;
    border-radius: var(--tp-radius);
    padding: 16px 16px 14px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(224, 16, 46, 0.28), transparent 58%),
        linear-gradient(160deg, #121a28 0%, #0a0f18 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 40px -26px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

body.tp .panel-layout .side-nav .user-balance-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: tpSheen 7s var(--tp-ease) infinite;
    pointer-events: none;
}

body.tp .panel-layout .side-nav .user-balance-card .wallet-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

body.tp .panel-layout .side-nav .user-balance-card .wallet-name .name {
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tp-muted-2);
    font-weight: 700;
}

body.tp .panel-layout .side-nav .user-balance-card .wallet-name .default {
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 40px;
    font-weight: 700;
}

body.tp .panel-layout .side-nav .user-balance-card .wallet-info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 5px 0;
}

body.tp .panel-layout .side-nav .user-balance-card .wallet-info .wallet-id {
    font-size: 12px;
    color: var(--tp-muted);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

body.tp .panel-layout .side-nav .user-balance-card .wallet-info .wallet-id i { color: var(--tp-muted-2); font-size: 12px; }

body.tp .panel-layout .side-nav .user-balance-card .wallet-info .balance {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

body.tp .panel-layout .side-nav .side-wallet-box .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 12px;
    padding: 0 14px;
}

body.tp .panel-layout .side-nav .side-wallet-box .actions .user-sidebar-btn {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}
body.tp .panel-layout .side-nav .side-wallet-box .actions .user-sidebar-btn i {
    position: static;
    display: inline-block;
    margin: 0;
    transform: none;
}

body.tp .panel-layout .side-nav .side-wallet-box .actions .user-sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    border: 1px solid var(--tp-line-2);
    background: rgba(255, 255, 255, 0.04);
    color: #e7ecf5;
    transition: 0.2s ease;
}

body.tp .panel-layout .side-nav .side-wallet-box .actions .user-sidebar-btn i { font-size: 12px; flex: 0 0 auto; }

body.tp .panel-layout .side-nav .side-wallet-box .actions .user-sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

body.tp .panel-layout .side-nav .side-wallet-box .actions .user-sidebar-btn.red-btn {
    background: linear-gradient(135deg, #e0102e, #ff3b4f);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 26px -14px rgba(224, 16, 46, 0.9);
}

body.tp .panel-layout .side-nav .side-wallet-box .actions .user-sidebar-btn.red-btn:hover {
    box-shadow: 0 14px 32px -14px rgba(255, 59, 79, 0.95);
}

/* menu */
body.tp .panel-layout .side-nav .side-nav-menu {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: block;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item {
    margin: 2px 0;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item > a {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 12px;
    border-radius: 11px;
    color: #9aa7bb;
    font-size: 13.2px;
    font-weight: 500;
    position: relative;
    transition: color 0.18s ease, background 0.18s ease;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item > a i {
    width: 18px;
    font-size: 15px;
    color: #5f6b7e;
    transition: color 0.18s ease, transform 0.18s ease;
    text-align: center;
    flex: 0 0 18px;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item > a span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.045);
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item > a:hover i { color: #c3ccda; transform: translateX(1px); }

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item.active > a,
body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item.current > a {
    color: #fff;
    background: linear-gradient(90deg, rgba(224, 16, 46, 0.2), rgba(224, 16, 46, 0.02));
    box-shadow: inset 0 0 0 1px rgba(224, 16, 46, 0.24);
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item.active > a::before,
body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item.current > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 2px;
    border-radius: 3px;
    background: var(--tp-red-2);
    box-shadow: 0 0 12px rgba(255, 59, 79, 0.9);
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item.active > a i,
body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item.current > a i { color: var(--tp-red-2); }

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item form { margin: 0; padding: 0; }

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item .site-btn {
    width: 100%;
    height: 40px;
    border: 1px solid var(--tp-line);
    background: rgba(255, 255, 255, 0.03);
    color: #9aa7bb;
    border-radius: 11px;
    text-transform: none;
    font-size: 13.2px;
    font-weight: 500;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: none;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item .site-btn:hover {
    background: rgba(255, 59, 79, 0.14);
    color: #fff;
    transform: none;
    border-color: rgba(255, 59, 79, 0.35);
}

/* nav group heading */
body.tp .side-nav-group-title {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4d5869;
    font-weight: 700;
    padding: 16px 12px 7px;
    white-space: nowrap;
}

/* folded state */
body.tp .panel-layout.nav-folded .panel-header .logo {
    width: 84px;
    flex-basis: 84px;
    padding: 0 22px;
    overflow: hidden;
}

body.tp .panel-layout.nav-folded .panel-header .logo img.logo-unfold { display: none; }
body.tp .panel-layout.nav-folded .side-nav { width: 84px; }
body.tp .panel-layout.nav-folded .page-container { padding-left: 84px; }
body.tp .panel-layout.nav-folded .side-nav .side-nav-menu .side-nav-item > a { justify-content: center; padding: 0; }
body.tp .panel-layout.nav-folded .side-nav .side-nav-menu .side-nav-item > a span { display: none; }
body.tp .panel-layout.nav-folded .side-nav .side-nav-item > a::before { display: none; }
body.tp .panel-layout.nav-folded .side-wallet-box,
body.tp .panel-layout.nav-folded .side-nav-group-title { display: none; }

body.tp .panel-layout.nav-folded .side-nav .side-nav-inside { padding: 18px 12px 26px; }
body.tp .panel-layout.nav-folded .side-nav .side-nav-menu .side-nav-item .site-btn { padding: 0; }
body.tp .panel-layout.nav-folded .side-nav .side-nav-menu .side-nav-item .site-btn span { display: none; }

body.tp .panel-layout.nav-folded .side-nav .side-nav-menu .side-nav-item > a[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute;
    left: 64px;
    top: 50%;
    transform: translateY(-50%);
    background: #111a29;
    border: 1px solid var(--tp-line-2);
    color: #fff;
    font-size: 11.5px;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 40;
}

/* ---- content ---- */
body.tp .panel-layout .page-container {
    min-height: 100vh;
    padding-left: var(--tp-side);
    transition: padding-left 0.34s var(--tp-ease);
    position: relative;
    z-index: 1;
}

body.tp .panel-layout .page-container .main-content {
    padding: calc(var(--tp-head) + 26px) 28px 40px;
    min-height: 100vh;
}

body.tp .panel-layout .page-container .main-content .container-fluid { padding: 0; max-width: 1560px; }

body.tp .panel-layout .page-container .section-gap { padding-top: 0; }

/* page heading */
body.tp .page-title { padding: 0 0 18px; }
body.tp .page-title .title-content { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.tp .page-title .title {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
}
body.tp .page-title .sub-title { color: var(--tp-muted-2); font-size: 13px; margin-top: 4px; }

body.tp .user-panel-title { color: #fff; }

/* --------------------------------------------------------------------------
   3. Cards
   -------------------------------------------------------------------------- */

body.tp .site-card {
    position: relative;
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    box-shadow: 0 18px 44px -34px rgba(0, 0, 0, 0.9);
    margin-bottom: 22px;
    overflow: hidden;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: border-color 0.25s ease, transform 0.25s var(--tp-ease);
}

body.tp .site-card:hover { border-color: rgba(255, 255, 255, 0.11); }

body.tp .site-card > .site-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 22px;
    border-bottom: 1px solid var(--tp-line);
    overflow: visible;
    background: transparent;
}

body.tp .site-card > .site-card-header .title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.tp .site-card > .site-card-header .title::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--tp-red-2), var(--tp-red));
    box-shadow: 0 0 12px rgba(224, 16, 46, 0.6);
    flex: 0 0 3px;
}

body.tp .site-card > .site-card-body { padding: 22px; background: transparent; }
body.tp .site-card > .site-card-body.p-0 { padding: 0; }

body.tp .site-card .card-header-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.tp .site-card .card-header-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--tp-muted);
    padding: 6px 13px;
    border-radius: 40px;
    border: 1px solid var(--tp-line);
    background: rgba(255, 255, 255, 0.03);
    transition: 0.18s ease;
    white-space: nowrap;
}
body.tp .site-card .card-header-link:hover,
body.tp .site-card .card-header-link.active {
    color: #fff;
    border-color: rgba(224, 16, 46, 0.5);
    background: rgba(224, 16, 46, 0.14);
}

/* --------------------------------------------------------------------------
   4. Stat tiles
   -------------------------------------------------------------------------- */

body.tp .user-cards { --bs-gutter-x: 16px; --bs-gutter-y: 16px; margin-bottom: 6px; }

body.tp .user-cards .single {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    border-radius: var(--tp-radius);
    border: 1px solid var(--tp-line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    overflow: hidden;
    transition: transform 0.3s var(--tp-ease), border-color 0.25s ease;
    margin-bottom: 0;
    height: 100%;
}

body.tp .user-cards .single::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(240px 120px at 100% 0%, rgba(224, 16, 46, 0.16), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

body.tp .user-cards .single:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.14); }
body.tp .user-cards .single:hover::after { opacity: 1; }

body.tp .user-cards .single .icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ff9aa6;
    background: rgba(224, 16, 46, 0.12);
    border: 1px solid rgba(224, 16, 46, 0.2);
}

body.tp .user-cards .single .content { min-width: 0; }
body.tp .user-cards .single .content h4 {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.tp .user-cards .single .content h4 b { font-weight: 600; color: var(--tp-muted); font-size: 13px; margin-right: 2px; }
body.tp .user-cards .single .content p {
    margin: 2px 0 0;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tp-muted-2);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   5. Forms
   -------------------------------------------------------------------------- */

body.tp .form-label,
body.tp .box-label,
body.tp label.box-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--tp-muted);
    margin-bottom: 8px;
    display: block;
}

body.tp .required-field { color: var(--tp-red-2); margin-left: 3px; }
body.tp .optional-msg { color: var(--tp-muted-2); font-size: 11.5px; font-weight: 400; letter-spacing: 0; text-transform: none; }

body.tp .form-control,
body.tp .box-input,
body.tp .form-select,
body.tp textarea.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--tp-line-2);
    border-radius: 12px;
    color: #f2f5fa;
    font-size: 14px;
    font-family: var(--tp-font);
    padding: 12px 14px;
    height: auto;
    min-height: 46px;
    text-indent: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: none;
}

body.tp .form-control::placeholder,
body.tp .box-input::placeholder,
body.tp textarea.form-control::placeholder { color: #5d6a7d; }

body.tp .form-control:focus,
body.tp .box-input:focus,
body.tp .form-select:focus,
body.tp textarea.form-control:focus {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(224, 16, 46, 0.65);
    box-shadow: 0 0 0 3px rgba(224, 16, 46, 0.16);
    color: #fff;
    outline: none;
}

body.tp .form-control:disabled,
body.tp .form-control[readonly],
body.tp .box-input:disabled { background: rgba(255, 255, 255, 0.02); color: var(--tp-muted-2); }

body.tp .input-group { border-radius: 12px; display: flex; flex-wrap: nowrap; align-items: stretch; }
body.tp .input-group > .form-control { border-radius: 12px; flex: 1 1 auto; min-width: 0; }
body.tp .input-group > .nice-select { flex: 1 1 auto; width: 100% !important; }
body.tp .input-group > .input-group-text { display: inline-flex; align-items: center; }
body.tp .input-group-text {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--tp-line-2);
    color: var(--tp-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 12px;
    padding: 0 16px;
}
body.tp .input-group > .input-group-text:first-child { border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
body.tp .input-group > .input-group-text:last-child { border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
body.tp .input-group > .input-group-text:first-child + .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
body.tp .input-group > .form-control:has(+ .input-group-text) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body.tp .input-info-text { font-size: 11.5px; color: var(--tp-muted-2); margin-top: 7px; display: block; }
body.tp .input-info-text a { color: #c9d4e4; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.2); }

body.tp .form-check-input {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid var(--tp-line-2);
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 3px;
    cursor: pointer;
}
body.tp .form-check-input:checked {
    background-color: var(--tp-red);
    border-color: var(--tp-red);
    box-shadow: 0 0 0 3px rgba(224, 16, 46, 0.18);
}
body.tp .form-check-input:focus { box-shadow: 0 0 0 3px rgba(224, 16, 46, 0.22); border-color: var(--tp-red-2); }
body.tp .form-check-label { font-size: 13px; color: var(--tp-muted); cursor: pointer; }
body.tp .form-check-label a { color: #dbe4f2; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.22); }

body.tp .site-nice-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--tp-line-2);
    border-radius: 12px;
    color: #f2f5fa;
    height: 46px;
    line-height: 44px;
    font-size: 14px;
    padding-left: 14px;
    font-family: var(--tp-font);
}
body.tp .site-nice-select .list {
    width: 100%;
    background: #0b111c;
    border: 1px solid var(--tp-line-2);
    border-radius: 12px;
    box-shadow: var(--tp-shadow);
    max-height: 260px;
    overflow-y: auto;
    z-index: 60;
}
body.tp .site-nice-select .option { line-height: 38px; min-height: 38px; color: var(--tp-muted); font-size: 13.5px; }
body.tp .site-nice-select .option:hover,
body.tp .site-nice-select .option.focus,
body.tp .site-nice-select .option.selected.focus { background: rgba(255, 255, 255, 0.06); color: #fff; }
body.tp .site-nice-select::after { border-color: var(--tp-muted-2); right: 16px; }

/* file drop */
body.tp .wrap-custom-file { position: relative; }
body.tp .wrap-custom-file input[type="file"] { display: none; }
body.tp .wrap-custom-file label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 92px;
    border: 1px dashed var(--tp-line-2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--tp-muted);
    font-size: 13px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: 0.2s ease;
    text-align: center;
    padding: 14px;
}
body.tp .wrap-custom-file label:hover { border-color: rgba(224, 16, 46, 0.55); background: rgba(224, 16, 46, 0.05); color: #fff; }
body.tp .wrap-custom-file label .upload-icon { width: 20px; opacity: 0.65; }
body.tp .wrap-custom-file label.file-ok { border-style: solid; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

body.tp .site-btn,
body.tp .apply-btn,
body.tp .primary-btn,
body.tp button.site-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    padding: 0 24px;
    border-radius: 40px;
    border: 1px solid var(--tp-line-2);
    background: rgba(255, 255, 255, 0.05);
    color: #eef2f8;
    font-family: var(--tp-font);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.2s var(--tp-ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

body.tp .site-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.22) 50%, transparent 75%);
    transform: translateX(-130%);
    transition: transform 0.7s var(--tp-ease);
}
body.tp .site-btn:hover::after { transform: translateX(130%); }

body.tp .site-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.24);
}

body.tp .site-btn.grad-btn,
body.tp .site-btn.red-btn,
body.tp .primary-btn,
body.tp .apply-btn {
    background: linear-gradient(135deg, #e0102e 0%, #ff3b4f 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 32px -18px rgba(224, 16, 46, 0.95);
}

body.tp .site-btn.grad-btn:hover,
body.tp .site-btn.red-btn:hover,
body.tp .primary-btn:hover,
body.tp .apply-btn:hover {
    background: linear-gradient(135deg, #f01634 0%, #ff5164 100%);
    box-shadow: 0 18px 40px -18px rgba(255, 59, 79, 0.95);
    transform: translateY(-1px);
    color: #fff;
}

body.tp .site-btn.blue-btn {
    background: rgba(76, 141, 255, 0.14);
    border-color: rgba(76, 141, 255, 0.34);
    color: #a9c7ff;
}
body.tp .site-btn.blue-btn:hover { background: rgba(76, 141, 255, 0.22); color: #fff; }

body.tp .site-btn-sm { height: 34px; padding: 0 15px; font-size: 11px; letter-spacing: 0.04em; border-radius: 30px; }
body.tp .site-btn.w-100 { width: 100%; }
body.tp .site-btn.centered { display: inline-flex; align-items: center; justify-content: center; }
body.tp .site-btn:disabled,
body.tp .site-btn.disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

body.tp .site-btn i,
body.tp .apply-btn i { font-size: 13px; }

/* --------------------------------------------------------------------------
   7. Tables
   -------------------------------------------------------------------------- */

body.tp .site-table,
body.tp .table,
body.tp .dataTable,
body.tp .site-datatable {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--tp-text);
    background: transparent;
    margin: 0;
}

body.tp table.dataTable thead th,
body.tp .site-table thead th,
body.tp .table thead th {
    background: transparent;
    border-bottom: 1px solid var(--tp-line);
    color: var(--tp-muted-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 16px;
    white-space: nowrap;
    vertical-align: middle;
}

body.tp table.dataTable tbody td,
body.tp .site-table tbody td,
body.tp .table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 16px;
    font-size: 13.5px;
    color: #cbd5e4;
    vertical-align: middle;
    background: transparent;
}

body.tp table.dataTable tbody tr:hover td,
body.tp .site-table tbody tr:hover td,
body.tp .table tbody tr:hover td { background: rgba(255, 255, 255, 0.035); }

body.tp table.dataTable tbody tr:last-child td,
body.tp .site-table tbody tr:last-child td { border-bottom: 0; }

body.tp .table-responsive { border-radius: var(--tp-radius); background: transparent; }
body.tp .site-datatable,
body.tp .data-table,
body.tp .dataTables_wrapper,
body.tp .dataTables_scroll,
body.tp .dataTables_scrollBody { background: transparent !important; border: 0 !important; }

body.tp .data-table thead,
body.tp .data-table thead tr,
body.tp .data-table thead th { background: transparent !important; background-color: transparent !important; }

body.tp .data-table tbody,
body.tp .data-table tbody tr,
body.tp .data-table tbody td { background: transparent !important; background-color: transparent !important; }
body.tp .data-table tbody tr:hover,
body.tp .data-table tbody tr:hover td { background: rgba(255, 255, 255, 0.035) !important; }

body.tp .dataTables_filter input,
body.tp .dataTables_length select { color-scheme: dark; }
body.tp input[type="date"],
body.tp input[type="text"].form-control { color-scheme: dark; }
body.tp .table-description { display: flex; flex-direction: column; gap: 2px; }
body.tp .table-description .title { font-size: 13.5px; font-weight: 600; color: #fff; }
body.tp .table-description .des { font-size: 11.5px; color: var(--tp-muted-2); }

body.tp .dataTables_wrapper .dataTables_filter input,
body.tp .dataTables_wrapper .dataTables_length select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tp-line-2);
    border-radius: 10px;
    color: #eef2f8;
    padding: 8px 12px;
    font-size: 13px;
    height: auto;
}
body.tp .dataTables_wrapper .dataTables_filter label,
body.tp .dataTables_wrapper .dataTables_length label,
body.tp .dataTables_wrapper .dataTables_info { color: var(--tp-muted-2); font-size: 12px; }

body.tp .pagination .page-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tp-line);
    color: var(--tp-muted);
    border-radius: 9px;
    margin: 0 2px;
    font-size: 12.5px;
    padding: 6px 12px;
}
body.tp .pagination .page-item.active .page-link {
    background: var(--tp-red);
    border-color: var(--tp-red);
    color: #fff;
}
body.tp .pagination .page-link:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }

/* --------------------------------------------------------------------------
   8. Badges / status
   -------------------------------------------------------------------------- */

body.tp .site-badge,
body.tp .transaction-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 40px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.07);
    color: #b9c4d5;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

body.tp .site-badge::before,
body.tp .transaction-status::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

body.tp .site-badge.badge-success,
body.tp .transaction-status.success {
    background: var(--tp-green-dim);
    color: var(--tp-green);
    border-color: rgba(31, 210, 134, 0.28);
}

body.tp .site-badge.badge-failed,
body.tp .site-badge.badge-danger,
body.tp .transaction-status.failed,
body.tp .transaction-status.canceled {
    background: rgba(224, 16, 46, 0.14);
    color: #ff7285;
    border-color: rgba(224, 16, 46, 0.3);
}

body.tp .site-badge.badge-warning,
body.tp .transaction-status.pending {
    background: rgba(245, 180, 85, 0.13);
    color: var(--tp-amber);
    border-color: rgba(245, 180, 85, 0.28);
}

body.tp .site-badge.badge-info,
body.tp .transaction-status.processing {
    background: rgba(76, 141, 255, 0.14);
    color: #8fb6ff;
    border-color: rgba(76, 141, 255, 0.3);
}

body.tp .green-color { color: var(--tp-green) !important; }
body.tp .red-color { color: #ff7285 !important; }
body.tp .primary-bg { background: rgba(224, 16, 46, 0.12) !important; color: #ff9aa6 !important; }
body.tp .white-text { color: #fff !important; }

/* alerts */
body.tp .alert,
body.tp .site-alert {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--tp-line-2);
    border-radius: 14px;
    color: #dbe3ef;
    font-size: 13px;
    padding: 14px 16px;
}
body.tp .alert-warning { background: rgba(245, 180, 85, 0.08); border-color: rgba(245, 180, 85, 0.3); color: #f3cd93; }
body.tp .alert-danger { background: rgba(224, 16, 46, 0.1); border-color: rgba(224, 16, 46, 0.3); color: #ff9aa6; }
body.tp .alert-success { background: rgba(31, 210, 134, 0.09); border-color: rgba(31, 210, 134, 0.28); color: #8fe6bf; }
body.tp .alert .btn-close { filter: invert(1) grayscale(1) brightness(1.6); opacity: 0.5; }

/* --------------------------------------------------------------------------
   9. Investment plan cards
   -------------------------------------------------------------------------- */

body.tp .single-investment-plan {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px 22px 20px;
    border-radius: var(--tp-radius-lg);
    border: 1px solid var(--tp-line);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(224, 16, 46, 0.1), transparent 55%),
        linear-gradient(170deg, #0c121d 0%, #070b12 100%);
    box-shadow: 0 24px 60px -40px rgba(0, 0, 0, 0.95);
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.35s var(--tp-ease), border-color 0.3s ease, box-shadow 0.35s ease;
}

body.tp .single-investment-plan:hover {
    transform: translateY(-4px);
    border-color: rgba(224, 16, 46, 0.34);
    box-shadow: 0 34px 70px -40px rgba(224, 16, 46, 0.4);
}

body.tp .single-investment-plan .investment-plan-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

body.tp .single-investment-plan .feature-plan {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #e0102e, #ff3b4f);
    padding: 4px 10px;
    border-radius: 30px;
    box-shadow: 0 6px 18px -8px rgba(224, 16, 46, 0.9);
}

body.tp .single-investment-plan h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: -0.015em;
}

body.tp .single-investment-plan > p {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 6px 0 18px;
    background: linear-gradient(120deg, #fff 20%, #ff8290 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.tp .single-investment-plan ul {
    list-style: none;
    margin: 0 0 18px;
    padding: 16px 0 0;
    border-top: 1px solid var(--tp-line);
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

body.tp .single-investment-plan ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--tp-muted-2);
    line-height: 1.4;
}

body.tp .single-investment-plan ul li span {
    color: #e6ecf6;
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

body.tp .single-investment-plan ul li span.special {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--tp-line);
    padding: 2px 9px;
    border-radius: 7px;
    font-size: 12px;
}

body.tp .single-investment-plan .holidays {
    font-size: 10.5px;
    color: #5f6b7e;
    margin-bottom: 14px;
    line-height: 1.5;
}
body.tp .single-investment-plan .holidays .star { color: var(--tp-red-2); margin-right: 4px; }

body.tp .single-investment-plan .site-btn { margin-top: auto; width: 100%; }

/* --------------------------------------------------------------------------
   10. Transaction rows
   -------------------------------------------------------------------------- */

body.tp .transaction-list { display: flex; flex-direction: column; }

body.tp .single-transaction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    transition: background 0.2s ease;
    border-radius: 10px;
}
body.tp .single-transaction:last-child { border-bottom: 0; }
body.tp .single-transaction:hover { background: rgba(255, 255, 255, 0.03); }

body.tp .transaction-left { display: flex; align-items: center; gap: 13px; min-width: 0; }

body.tp .transaction-left .icon,
body.tp .single-transaction .icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--tp-line);
    color: #b9c6d8;
}

body.tp .transaction-title { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.35; }
body.tp .transaction-date,
body.tp .transaction-id { font-size: 11px; color: var(--tp-muted-2); letter-spacing: 0.02em; }
body.tp .transaction-des { font-size: 11.5px; color: var(--tp-muted-2); }
body.tp .transaction-gateway { font-size: 11.5px; color: var(--tp-muted); }
body.tp .transaction-fee { font-size: 11px; color: var(--tp-muted-2); }

body.tp .transaction-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
body.tp .transaction-amount { font-size: 14.5px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
body.tp .transaction-amount.plus { color: var(--tp-green); }
body.tp .transaction-amount.minus { color: #ff7285; }

/* --------------------------------------------------------------------------
   11. Progress steps (deposit / withdraw flows)
   -------------------------------------------------------------------------- */

/* two-step rail (deposit / withdraw) */
body.tp .progress-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 26px;
}

body.tp .progress-steps .single-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid var(--tp-line) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

body.tp .progress-steps .single-step::before,
body.tp .progress-steps .single-step::after {
    content: none !important;
    display: none !important;
}

body.tp .progress-steps .single-step .number {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--tp-muted-2);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--tp-line-2);
}

body.tp .progress-steps .single-step .content h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: #cfd8e6;
    margin: 0;
    letter-spacing: -0.01em;
}

body.tp .progress-steps .single-step .content p {
    font-size: 11.5px;
    color: var(--tp-muted-2);
    margin: 2px 0 0;
}

body.tp .progress-steps .single-step.active,
body.tp .progress-steps .single-step.current {
    border-color: rgba(224, 16, 46, 0.4) !important;
    background: linear-gradient(100deg, rgba(224, 16, 46, 0.16), rgba(224, 16, 46, 0.02)) !important;
}

body.tp .progress-steps .single-step.active .number,
body.tp .progress-steps .single-step.current .number {
    background: linear-gradient(135deg, #e0102e, #ff3b4f);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(224, 16, 46, 0.14);
}

body.tp .progress-steps .single-step.active .content h4,
body.tp .progress-steps .single-step.current .content h4 { color: #fff; }

body.tp .progress-steps-form { position: relative; }

body.tp .progress-steps-form .progress-steps {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    counter-reset: step;
}

body.tp .progress-steps-form .progress-steps li {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #566274;
    font-weight: 600;
    text-align: center;
}

body.tp .progress-steps-form .progress-steps li .number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tp-line-2);
    color: #7d8a9d;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    transition: 0.3s ease;
}

body.tp .progress-steps-form .progress-steps li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: -50%;
    width: 100%;
    height: 1px;
    background: var(--tp-line-2);
    z-index: 1;
}
body.tp .progress-steps-form .progress-steps li:first-child::before { display: none; }

body.tp .progress-steps-form .progress-steps li.active,
body.tp .progress-steps-form .progress-steps li.current { color: #fff; }

body.tp .progress-steps-form .progress-steps li.active .number,
body.tp .progress-steps-form .progress-steps li.current .number {
    background: linear-gradient(135deg, #e0102e, #ff3b4f);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(224, 16, 46, 0.16);
}

body.tp .progress-steps-form .progress-steps li.completed .number {
    background: rgba(31, 210, 134, 0.16);
    border-color: rgba(31, 210, 134, 0.4);
    color: var(--tp-green);
}

body.tp .progress-steps-form .single-step { display: none; }
body.tp .progress-steps-form .single-step.active,
body.tp .progress-steps-form .single-step.current { display: block; animation: tpFadeUp 0.45s var(--tp-ease) both; }

body.tp .progress-steps-form .buttons { display: flex; align-items: center; gap: 10px; margin-top: 18px; }

/* review table inside flows */
body.tp .progress-steps-form .transaction-list { margin-top: 22px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 6px 18px 12px; background: rgba(255, 255, 255, 0.018); }
body.tp .progress-steps-form .transaction-list .user-panel-title h3 {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tp-muted-2);
    font-weight: 700;
    padding: 14px 0 6px;
    margin: 0;
}
body.tp .progress-steps-form .transaction-list table { width: 100%; margin: 0; }
body.tp .progress-steps-form .transaction-list table tbody tr,
body.tp .progress-steps-form .transaction-list table tbody tr:nth-child(odd),
body.tp .progress-steps-form .transaction-list table tbody tr:nth-child(even) { background: transparent !important; }

body.tp .progress-steps-form .transaction-list table tbody tr td {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 11px 0;
    font-size: 13px;
    color: #dfe7f2;
}
body.tp .progress-steps-form .transaction-list table tbody tr:last-child td { border-bottom: 0; }
body.tp .progress-steps-form .transaction-list table tbody tr td:first-child { color: var(--tp-muted-2); font-weight: 500; width: 50%; }
body.tp .progress-steps-form .transaction-list table tbody tr td strong { color: var(--tp-muted-2); font-weight: 500; }
body.tp .progress-steps-form .transaction-list table tbody tr:hover td { background: transparent !important; }
body.tp .progress-steps-form .transaction-list table tbody tr.hidden { display: none; }
body.tp .payment-method { max-height: 26px; width: auto; }

/* selectable method rows */
body.tp .selectMethodRow,
body.tp .gateway-row {
    border: 1px solid var(--tp-line);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.025);
    transition: 0.2s ease;
    cursor: pointer;
}
body.tp .selectMethodRow:hover,
body.tp .gateway-row:hover { border-color: rgba(224, 16, 46, 0.4); background: rgba(224, 16, 46, 0.05); }

/* progress bars */
body.tp .progress { background: rgba(255, 255, 255, 0.07); border-radius: 40px; height: 7px; overflow: hidden; }
body.tp .progress-bar { background: linear-gradient(90deg, #e0102e, #ff6a7a); border-radius: 40px; }
body.tp .progress-bar.bg-success { background: linear-gradient(90deg, #12a468, #1fd286) !important; }

/* --------------------------------------------------------------------------
   12. Investment timeline / details
   -------------------------------------------------------------------------- */

body.tp .investment-timeline { position: relative; padding-left: 22px; }
body.tp .investment-timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(180deg, rgba(224, 16, 46, 0.6), rgba(255, 255, 255, 0.06));
}
body.tp .investment-timeline .timeline-item { position: relative; padding: 0 0 16px 0; }
body.tp .investment-timeline .timeline-item::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0a0f19;
    border: 1px solid rgba(224, 16, 46, 0.8);
    box-shadow: 0 0 10px rgba(224, 16, 46, 0.5);
}

/* tabs */
body.tp .nav-tabs { border-bottom: 1px solid var(--tp-line); gap: 4px; }
body.tp .nav-tabs .nav-link {
    border: 0;
    color: var(--tp-muted-2);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px 10px 0 0;
    background: transparent;
}
body.tp .nav-tabs .nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
body.tp .nav-tabs .nav-link.active {
    color: #fff;
    background: rgba(224, 16, 46, 0.12);
    border-bottom: 2px solid var(--tp-red-2);
}

/* --------------------------------------------------------------------------
   13. Auth screens
   -------------------------------------------------------------------------- */

body.ta {
    min-height: 100vh;
    background: #04060b;
}

.ta-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 100vh;
}

/* --- left brand column --- */
.ta-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px clamp(28px, 4.4vw, 64px);
    overflow: hidden;
    border-right: 1px solid var(--tp-line);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(224, 16, 46, 0.22), transparent 58%),
        linear-gradient(160deg, #070c15 0%, #04060b 70%);
}

.ta-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: radial-gradient(circle at 34% 40%, #000 10%, transparent 74%);
    -webkit-mask-image: radial-gradient(circle at 34% 40%, #000 10%, transparent 74%);
    opacity: 0.75;
    pointer-events: none;
}

.ta-orbit {
    position: absolute;
    width: 720px;
    height: 720px;
    right: -280px;
    top: -220px;
    border-radius: 50%;
    border: 1px solid rgba(224, 16, 46, 0.16);
    pointer-events: none;
}
.ta-orbit::before,
.ta-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    inset: 90px;
}
.ta-orbit::after { inset: 190px; border-color: rgba(224, 16, 46, 0.1); }

.ta-spin {
    position: absolute;
    width: 720px;
    height: 720px;
    right: -280px;
    top: -220px;
    border-radius: 50%;
    pointer-events: none;
    animation: taSpin 42s linear infinite;
}
.ta-spin::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--tp-red-2);
    box-shadow: 0 0 20px 4px rgba(255, 59, 79, 0.6);
}

.ta-brand-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ta-brand-top img { max-height: 30px; width: auto; }
.ta-brand-top .ta-badge {
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 40px;
    padding: 5px 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.ta-brand-top .ta-badge span.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--tp-green);
    box-shadow: 0 0 10px var(--tp-green);
    animation: taPulse 2.4s ease-in-out infinite;
}

.ta-brand-mid { position: relative; z-index: 2; padding: 48px 0; max-width: 520px; }
.ta-brand-mid .ta-kicker {
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ff8a97;
    font-weight: 700;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ta-brand-mid .ta-kicker::before { content: ""; width: 26px; height: 1px; background: var(--tp-red); }
.ta-brand-mid h1 {
    font-size: clamp(32px, 3.4vw, 50px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
}
.ta-brand-mid h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #fff 10%, #ff5a6c 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ta-brand-mid p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--tp-muted);
    max-width: 430px;
}

.ta-quote {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--tp-line);
    border: 1px solid var(--tp-line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}
.ta-quote .cell {
    background: rgba(8, 12, 20, 0.92);
    padding: 14px 16px;
}
.ta-quote .cell .k {
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tp-muted-2);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}
.ta-quote .cell .v {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ta-quote .cell .v .up { color: var(--tp-green); font-size: 11px; font-weight: 600; }

.ta-brand-foot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f5b6d;
    font-weight: 600;
}
.ta-brand-foot a { color: #7f8ca0; }
.ta-brand-foot a:hover { color: #fff; }

/* --- right form column --- */
.ta-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px clamp(20px, 3.6vw, 56px);
    background: #05080e;
}

.ta-panel-inner { width: 100%; max-width: 456px; position: relative; z-index: 2; }

.ta-mobile-logo { display: none; margin-bottom: 26px; }
.ta-mobile-logo img { max-height: 30px; }

.ta-head { margin-bottom: 26px; }
.ta-head .ta-eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ff8a97;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.ta-head .ta-eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--tp-red);
}
.ta-head h2 {
    font-size: clamp(25px, 2.4vw, 32px);
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 700;
}
.ta-head p { font-size: 13.5px; color: var(--tp-muted); line-height: 1.65; max-width: 400px; }

.ta-card {
    border: 1px solid var(--tp-line);
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    border-radius: var(--tp-radius-lg);
    padding: 26px;
    box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.ta-field { margin-bottom: 16px; }
.ta-field label,
.ta-card label.box-label {
    display: block;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #93a0b5;
    margin-bottom: 8px;
}
.ta-field label .req { color: var(--tp-red-2); margin-left: 3px; }

.ta-control {
    position: relative;
    display: flex;
    align-items: center;
}
.ta-control > i.lead-icon {
    position: absolute;
    left: 15px;
    font-size: 14px;
    color: #5d6a7d;
    pointer-events: none;
    transition: color 0.2s ease;
}
.ta-control input,
.ta-control select,
.ta-control textarea {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--tp-line-2);
    border-radius: 13px;
    color: #f2f5fa;
    font-size: 14px;
    font-family: var(--tp-font);
    padding: 0 46px 0 42px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    outline: none;
}
.ta-control input::placeholder { color: #55627a; }
.ta-control input:focus {
    border-color: rgba(224, 16, 46, 0.6);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(224, 16, 46, 0.14);
}
.ta-control input:focus + i,
.ta-control:focus-within > i.lead-icon { color: #ff8a97; }
.ta-control.no-icon input { padding-left: 15px; }
.ta-control.no-icon select { padding-left: 15px; }

.ta-control .ta-eye {
    position: absolute;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #5d6a7d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease;
}
.ta-control .ta-eye:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.ta-control select {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 15px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f7c92' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.ta-control select option { background: #0b111c; color: #e9eef7; }

.ta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 20px; }
.ta-check { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--tp-muted); cursor: pointer; }
.ta-check input {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid var(--tp-line-2);
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    cursor: pointer;
    transition: 0.18s ease;
    flex: 0 0 16px;
    margin: 0;
}
.ta-check input:checked { background: var(--tp-red); border-color: var(--tp-red); }
.ta-check input:checked::after {
    content: "";
    position: absolute;
    left: 4.6px;
    top: 1.4px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(42deg);
}
.ta-link { font-size: 12.5px; color: #c3cede; font-weight: 600; }
.ta-link:hover { color: #fff; }

.ta-submit {
    position: relative;
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #e0102e 0%, #ff3b4f 100%);
    color: #fff;
    font-family: var(--tp-font);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 18px 40px -20px rgba(224, 16, 46, 0.95);
    transition: transform 0.2s var(--tp-ease), box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ta-submit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 28%, rgba(255, 255, 255, 0.3) 50%, transparent 72%);
    transform: translateX(-130%);
    transition: transform 0.75s var(--tp-ease);
}
.ta-submit:hover::after { transform: translateX(130%); }
.ta-submit:hover { transform: translateY(-1px); box-shadow: 0 24px 48px -20px rgba(255, 59, 79, 0.95); }
.ta-submit:active { transform: translateY(0); }

.ta-alt {
    margin-top: 20px;
    text-align: center;
    font-size: 12.5px;
    color: var(--tp-muted-2);
}
.ta-alt a { color: #f2f5fa; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.22); padding-bottom: 1px; }
.ta-alt a:hover { color: #ff8a97; border-color: rgba(255, 138, 151, 0.5); }

.ta-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #4d5869;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}
.ta-divider::before,
.ta-divider::after { content: ""; height: 1px; background: var(--tp-line); flex: 1; }

.ta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #4f5b6d;
    font-weight: 600;
}
.ta-trust span { display: inline-flex; align-items: center; gap: 6px; }
.ta-trust i { color: #6a7789; font-size: 11px; }

.ta-error {
    border: 1px solid rgba(224, 16, 46, 0.32);
    background: rgba(224, 16, 46, 0.09);
    border-radius: 13px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 12.5px;
    color: #ffb0ba;
    display: flex;
    gap: 9px;
    align-items: flex-start;
}
.ta-error i { margin-top: 2px; color: #ff7285; }
.ta-error ul { margin: 0; padding-left: 14px; }

.ta-note {
    font-size: 11.5px;
    line-height: 1.65;
    color: #5f6b7e;
    margin-top: 14px;
}

.ta-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}
.ta-form-grid .ta-field.full { grid-column: 1 / -1; }

.ta-grecaptcha { margin-bottom: 16px; transform: scale(0.92); transform-origin: left top; }

/* --------------------------------------------------------------------------
   14. Dashboard hero + extras
   -------------------------------------------------------------------------- */

.tp-hero {
    position: relative;
    border-radius: var(--tp-radius-lg);
    border: 1px solid var(--tp-line);
    background:
        radial-gradient(120% 130% at 92% 0%, rgba(224, 16, 46, 0.24), transparent 55%),
        linear-gradient(150deg, #0d1523 0%, #070b12 72%);
    padding: clamp(22px, 2.6vw, 32px);
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.95);
}

.tp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 78% 20%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 78% 20%, #000, transparent 72%);
    pointer-events: none;
}

.tp-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 26px;
    align-items: center;
}

.tp-hero h1 {
    font-size: clamp(23px, 2.6vw, 33px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 10px;
}
.tp-hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #fff 10%, #ff5a6c 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tp-hero p { font-size: 13.5px; color: var(--tp-muted); max-width: 470px; line-height: 1.68; }
.tp-hero .tp-hero-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

.tp-hero-value {
    position: relative;
    border-radius: var(--tp-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    padding: 18px 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.tp-hero-value .k {
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tp-muted-2);
    font-weight: 700;
}
.tp-hero-value .v {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1.1;
    margin: 6px 0 2px;
    font-variant-numeric: tabular-nums;
}
.tp-hero-value .d { font-size: 12px; color: var(--tp-green); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.tp-hero-spark { margin-top: 12px; height: 46px; width: 100%; }
.tp-hero-spark path.line { fill: none; stroke: #ff4b5f; stroke-width: 2; stroke-linecap: round; }
.tp-hero-spark path.area { fill: url(#tpSparkArea); opacity: 0.7; }

.tp-mini-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: var(--tp-line);
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    overflow: hidden;
    margin-top: 18px;
}
.tp-mini-stats .item { background: #080c14; padding: 12px 16px; }
.tp-mini-stats .item .k { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tp-muted-2); font-weight: 700; display: block; margin-bottom: 4px; }
.tp-mini-stats .item .v { font-size: 15px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* market rail */
.tp-market {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 11px 18px;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    background: rgba(255, 255, 255, 0.025);
    margin-bottom: 22px;
    position: relative;
}

.tp-market .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tp-muted-2);
    flex: 0 0 auto;
    z-index: 2;
}
.tp-market .label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tp-green);
    box-shadow: 0 0 10px var(--tp-green);
    animation: taPulse 2.4s ease-in-out infinite;
}
.tp-market-window {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
    min-width: 0;
    mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.tp-market-track {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: tpMarquee 46s linear infinite;
    will-change: transform;
}
.tp-market:hover .tp-market-track { animation-play-state: paused; }
.tp-market .tick { display: inline-flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--tp-muted); }
.tp-market .tick b { color: #fff; font-weight: 600; letter-spacing: 0.02em; font-size: 11.5px; }
.tp-market .tick .up { color: var(--tp-green); font-weight: 600; }
.tp-market .tick .down { color: #ff7285; font-weight: 600; }

/* empty state */
.tp-empty {
    text-align: center;
    padding: 38px 20px;
    color: var(--tp-muted-2);
}
.tp-empty i { font-size: 28px; color: #38445a; display: block; margin-bottom: 12px; }
.tp-empty p { font-size: 13px; }

/* referral link */
body.tp .referral-link-form { display: flex; gap: 8px; align-items: stretch; }

/* notification list */
body.tp .notification-list .single-notification { border-bottom: 1px solid var(--tp-line); padding: 14px 2px; }

/* ---- position cards ---- */
.tp-position {
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
    padding: 16px 18px;
    margin-bottom: 12px;
    transition: border-color 0.25s ease, transform 0.3s var(--tp-ease);
}
.tp-position:last-child { margin-bottom: 0; }
.tp-position:hover { border-color: rgba(224, 16, 46, 0.3); transform: translateY(-1px); }

.tp-position-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.tp-position-top .left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tp-position-top .chip {
    font-size: 9px;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: #ff9aa6;
    background: rgba(224, 16, 46, 0.12);
    border: 1px solid rgba(224, 16, 46, 0.22);
    border-radius: 7px;
    padding: 5px 8px;
    flex: 0 0 auto;
}
.tp-position-top .meta { display: flex; flex-direction: column; min-width: 0; }
.tp-position-top .meta .n { font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-position-top .meta .s { font-size: 11px; color: var(--tp-muted-2); }
.tp-position-top .right { text-align: right; display: flex; flex-direction: column; }
.tp-position-top .right .amt { font-size: 15.5px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.tp-position-top .right .s { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tp-muted-2); font-weight: 600; }

.tp-position-bars { margin: 14px 0 12px; }
.tp-position-bars .bar-row {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--tp-muted-2); font-weight: 600; margin-bottom: 7px;
}
.tp-position-bars .progress { height: 6px; }
.tp-position-bars .progress-bar { width: 0; transition: width 1.2s var(--tp-ease); }

.tp-position-foot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--tp-line);
}
.tp-position-foot > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tp-position-foot .k { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tp-muted-2); font-weight: 700; }
.tp-position-foot .v { font-size: 12.5px; font-weight: 600; color: #e9eef7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- quick actions ---- */
.tp-quick { display: grid; gap: 8px; }
.tp-quick a {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 1px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 13px;
    border: 1px solid var(--tp-line);
    background: rgba(255, 255, 255, 0.025);
    transition: 0.2s ease;
}
.tp-quick a:hover { border-color: rgba(224, 16, 46, 0.36); background: rgba(224, 16, 46, 0.06); transform: translateX(2px); }
.tp-quick a i {
    grid-row: 1 / span 2;
    width: 34px; height: 34px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(224, 16, 46, 0.12);
    border: 1px solid rgba(224, 16, 46, 0.2);
    color: #ff9aa6;
    font-size: 13px;
}
.tp-quick a span { font-size: 13px; font-weight: 600; color: #fff; }
.tp-quick a em { font-size: 10.5px; color: var(--tp-muted-2); font-style: normal; }

/* ---- support card ---- */
.tp-support {
    position: relative;
    border-radius: var(--tp-radius);
    border: 1px solid rgba(224, 16, 46, 0.24);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(224, 16, 46, 0.24), transparent 60%),
        linear-gradient(160deg, #0d1421, #070b12);
    padding: 20px;
    overflow: hidden;
}
.tp-support .k { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: #ff8a97; font-weight: 700; }
.tp-support h4 { font-size: 15.5px; font-weight: 700; color: #fff; margin: 8px 0 6px; letter-spacing: -0.015em; }
.tp-support p { font-size: 12px; color: var(--tp-muted); line-height: 1.65; margin-bottom: 14px; }

/* ---- referral link ---- */
body.tp .referral-link-form { display: flex; gap: 8px; align-items: stretch; }
body.tp .referral-link-form input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border-radius: 11px;
    border: 1px solid var(--tp-line-2);
    background: rgba(255, 255, 255, 0.035);
    color: #dfe7f2;
    padding: 0 14px;
    font-size: 12.5px;
}
body.tp .referral-link-form button {
    flex: 0 0 auto;
    height: 44px;
    border: 0;
    border-radius: 11px;
    padding: 0 16px;
    background: linear-gradient(135deg, #e0102e, #ff3b4f);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    white-space: nowrap;
}
body.tp .referral-joined { font-size: 11.5px; color: var(--tp-muted-2); margin-top: 10px; }

body.tp .user-ranking {
    position: relative;
    border-radius: var(--tp-radius);
    border: 1px solid var(--tp-line);
    background: linear-gradient(160deg, #0d1421, #070b12);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 22px;
}
body.tp .user-ranking h4 { font-size: 16px; color: #fff; margin: 0; }
body.tp .user-ranking p { font-size: 11.5px; color: var(--tp-muted-2); margin: 0; }
body.tp .user-ranking .rank img { max-width: 64px; margin-top: 10px; }


/* --------------------------------------------------------------------------
   15. Animations
   -------------------------------------------------------------------------- */

@keyframes tpSheen {
    0%, 62% { transform: translateX(-120%); }
    100% { transform: translateX(140%); }
}

@keyframes tpFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tpMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes taSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes taPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.82); }
}

.tp-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--tp-ease), transform 0.7s var(--tp-ease);
}
.tp-reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */

@media screen and (max-width: 1399.98px) {
    body.tp .panel-layout .page-container .main-content { padding: calc(var(--tp-head) + 22px) 22px 36px; }
}

@media screen and (max-width: 1199.98px) {
    .ta-shell { grid-template-columns: 1fr; }
    .ta-brand { display: none; }
    .ta-mobile-logo { display: block; }
    .ta-panel { min-height: 100vh; align-items: flex-start; padding-top: 40px; }
}

@media screen and (max-width: 991.98px) {
    :root { --tp-side: 0px; }

    body.tp .panel-layout .panel-header .logo { width: auto; flex-basis: auto; padding: 0 14px; border-right: 0; }
    body.tp .panel-layout .panel-header .logo .logo-unfold { display: none; }

    body.tp .panel-layout .side-nav {
        width: 288px;
        transform: translateX(-100%);
        top: 0;
        padding-top: var(--tp-head);
        background: #060a11;
        box-shadow: 40px 0 80px -40px rgba(0, 0, 0, 0.9);
    }
    body.tp .panel-layout.nav-open .side-nav { transform: none; }
    body.tp .panel-layout.nav-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(2, 4, 8, 0.66);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        z-index: 105;
    }
    body.tp .panel-layout .page-container { padding-left: 0; }
    body.tp .panel-layout .page-container .main-content { padding: calc(var(--tp-head) + 18px) 16px 32px; }

    .tp-hero-grid { grid-template-columns: 1fr; }
    body.tp .user-cards .single { padding: 15px 14px; }
}

@media screen and (max-width: 767.98px) {
    .ta-card { padding: 20px; border-radius: 20px; }
    .ta-panel { padding: 28px 18px 44px; }
    .ta-form-grid { grid-template-columns: 1fr; gap: 0; }
    .ta-head h2 { font-size: 25px; }
    .ta-quote { grid-template-columns: 1fr; }
    body.tp .site-card > .site-card-header { padding: 15px 16px; }
    body.tp .site-card > .site-card-body { padding: 16px; }
    body.tp .page-title .title { font-size: 21px; }
    body.tp .single-investment-plan { padding: 20px 18px 18px; }
    body.tp .transaction-gateway,
    body.tp .transaction-fee { display: none; }
}

@media screen and (max-width: 575.98px) {
    .ta-control input { height: 48px; font-size: 13.5px; }
    .ta-submit { height: 49px; }
    body.tp .site-btn { padding: 0 18px; font-size: 11.5px; }
    body.tp .user-cards .single .content h4 { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    body.tp *,
    body.ta *,
    body.tp *::before,
    body.ta *::before,
    body.tp *::after,
    body.ta *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ==========================================================================
   Canvas lockdown — kill legacy navy/green surfaces
   ========================================================================== */
body.tp,
body.tp .panel-layout,
body.tp .panel-layout .page-container,
body.tp .panel-layout .page-container .main-content,
body.tp .panel-layout .page-container .main-content .section-gap,
body.tp .panel-layout .page-container .main-content .section-gap > .container-fluid,
body.tp .panel-layout .page-container .main-content .row,
body.tp .panel-layout .page-container .main-content .col-xl-12 {
    background: transparent !important;
    background-image: none !important;
}

body.tp { background: #070a10 !important; }

body.tp .panel-layout { background: #070a10 !important; }

body.tp .panel-layout .page-container .main-content {
    background: radial-gradient(140% 100% at 100% 0%, #0d1420 0%, #070a10 55%) !important;
    min-height: calc(100vh - 66px);
}

/* header */
body.tp .panel-layout .panel-header {
    background: rgba(9, 13, 20, 0.92) !important;
    border-bottom: 1px solid var(--tp-line) !important;
    backdrop-filter: blur(14px);
}

body.tp .panel-layout .panel-header .nav-wrap { background: transparent !important; }

/* sidebar */
body.tp .panel-layout .side-nav {
    background: #080c13 !important;
    border-right: 1px solid var(--tp-line) !important;
}

body.tp .panel-layout .side-nav .side-nav-inside { background: transparent !important; }

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item > a,
body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item .dropdown-link {
    background: transparent !important;
    border: 0;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item > a:hover,
body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item .dropdown-link:hover {
    background: rgba(255, 255, 255, 0.045) !important;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item.active > a,
body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item > a.active {
    background: linear-gradient(90deg, rgba(224, 16, 46, 0.22), rgba(224, 16, 46, 0.02)) !important;
    box-shadow: inset 0 0 0 1px rgba(224, 16, 46, 0.22);
    color: #fff !important;
}

body.tp .panel-layout .side-nav .side-nav-menu .side-nav-item.category-title > span {
    color: #47536a !important;
    letter-spacing: 0.2em;
}

/* cards */
body.tp .panel-layout .page-container .main-content .site-card,
body.tp .panel-layout .page-container .main-content .card {
    background: rgba(255, 255, 255, 0.022) !important;
    border: 1px solid var(--tp-line) !important;
    box-shadow: none !important;
    border-radius: var(--tp-radius);
    overflow: hidden;
}

body.tp .panel-layout .page-container .main-content .site-card .site-card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--tp-line) !important;
    padding: 16px 20px !important;
}

body.tp .panel-layout .page-container .main-content .site-card .site-card-body { background: transparent !important; }

/* legacy dark panels */
body.tp .transaction-list,
body.tp .user-panel-title,
body.tp .payment-details,
body.tp .single-box,
body.tp .box,
body.tp .panel-box { background: transparent !important; }

body.tp .main-content .user-panel-title h3,
body.tp .main-content .user-panel-title h5 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em;
}

/* generic tables (legacy .table inside .site-table / .table-responsive) */
body.tp .main-content .table,
body.tp .main-content .table-responsive,
body.tp .main-content .site-table,
body.tp .main-content .table-filter,
body.tp .main-content form,
body.tp .main-content .search { background: transparent !important; background-image: none !important; }

body.tp .main-content table.table > thead,
body.tp .main-content table.table > thead > tr { background: transparent !important; background-image: none !important; }

body.tp .main-content table.table > thead > tr > th {
    background: transparent !important;
    background-image: none !important;
    color: #7f8da4 !important;
    font-size: 9.5px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-top: 1px solid var(--tp-line) !important;
    border-bottom: 1px solid var(--tp-line) !important;
    padding: 13px 14px !important;
    white-space: nowrap;
}

body.tp .main-content table.table > tbody > tr,
body.tp .main-content table.table > tbody > tr:nth-child(odd),
body.tp .main-content table.table > tbody > tr:nth-child(even),
body.tp .main-content table.table-striped > tbody > tr:nth-child(odd),
body.tp .main-content table.table-hover > tbody > tr {
    background: transparent !important;
    background-image: none !important;
}

body.tp .main-content table.table > tbody > tr > td {
    background: transparent !important;
    background-image: none !important;
    color: #dbe3ef !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 13px !important;
    padding: 14px !important;
    vertical-align: middle;
}

body.tp .main-content table.table > tbody > tr:hover > td {
    background: rgba(255, 255, 255, 0.03) !important;
}

body.tp .main-content table.table > tbody > tr > td a { color: #ffffff; text-decoration: none; }

/* filter bar */
body.tp .main-content .site-table .table-filter {
    border: 1px solid var(--tp-line) !important;
    border-radius: 14px;
    padding: 12px !important;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.018) !important;
}

body.tp .main-content .site-table .table-filter input[type="text"],
body.tp .main-content .site-table .table-filter input[type="date"] {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--tp-line-2) !important;
    color: #e6ecf5 !important;
    border-radius: 10px !important;
    height: 42px;
    padding: 0 14px;
    font-size: 12.5px;
    color-scheme: dark;
}

body.tp .main-content .site-table .table-filter .apply-btn {
    height: 42px;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #e0102e, #ff3b4f) !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 20px !important;
}

/* pills inside rows */
body.tp .main-content .table .site-badge,
body.tp .main-content .table .badge {
    border-radius: 30px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 11px !important;
    border: 1px solid transparent;
}

/* ==========================================================================
   Mobile shell
   ========================================================================== */
body.tp { overflow-x: hidden; }

body.tp .panel-header .mob-logo img {
    height: 30px !important;
    width: auto !important;
    max-width: 150px;
}

body.tp .panel-header .logo img { max-height: 34px; width: auto; }

/* bottom app bar */
body.tp .mobile-screen-show .bottom-appbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2px;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    background: rgba(8, 12, 19, 0.94) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 -12px 30px -22px #000;
}

body.tp .mobile-screen-show .bottom-appbar a {
    flex: 1 1 0;
    min-width: 0;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #7f8da4 !important;
    background: transparent !important;
    transition: 0.2s ease;
}

body.tp .mobile-screen-show .bottom-appbar a.active,
body.tp .mobile-screen-show .bottom-appbar a:hover {
    color: #fff !important;
    background: rgba(224, 16, 46, 0.16) !important;
}

body.tp .mobile-screen-show .bottom-appbar a.active svg { color: #ff4256; }
body.tp .mobile-screen-show .bottom-appbar svg { width: 20px; height: 20px; }

/* breathing room above the bar */
@media (max-width: 575px) {
    body.tp .panel-layout .page-container { padding-bottom: 84px; }

    body.tp .panel-layout .page-container .main-content .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.tp .panel-layout .page-container .main-content .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.tp .panel-layout .page-container .main-content .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.tp .site-card,
    body.tp .single-investment-plan,
    body.tp .tp-hero,
    body.tp .tp-hero-grid,
    body.tp .tp-positions,
    body.tp .tp-quick,
    body.tp .tp-reveal { max-width: 100% !important; }

    body.tp .single-investment-plan ul li {
        white-space: normal !important;
        word-break: break-word;
    }

    body.tp .section-gap { padding: 0 !important; }
}

@media (max-width: 767px) {
    body.tp .panel-layout .page-container .main-content .row { margin-left: 0; margin-right: 0; }
    body.tp .panel-layout .page-container .main-content .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
}

