* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(45, 255, 99, 0.16), transparent 30%),
        linear-gradient(180deg, #020403, #070b08 45%, #030403);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.app {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 22px 16px 95px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(44, 255, 89, 0.12);
    border: 1px solid rgba(44, 255, 89, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 0 30px rgba(44, 255, 89, 0.12);
}

.header h1 {
    font-size: 18px;
    letter-spacing: 1px;
    margin: 0;
}

.header p {
    margin: 4px 0 0;
    color: #8f9b93;
    font-size: 12px;
}

.status-pill {
    white-space: nowrap;
    padding: 9px 12px;
    border-radius: 999px;
    color: #46e668;
    background: rgba(44, 255, 89, 0.08);
    border: 1px solid rgba(44, 255, 89, 0.25);
    font-size: 12px;
}

.status-pill span {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #39e75f;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 14px #39e75f;
}

.tab-page {
    display: none;
}

.active-page {
    display: block;
}

.hero-card,
.manual-card,
.profile-card {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(44, 255, 89, 0.2);
    background:
        linear-gradient(135deg, rgba(44, 255, 89, 0.12), rgba(255, 255, 255, 0.03)),
        rgba(10, 15, 12, 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    margin-bottom: 16px;
}

.small-title {
    color: #43e865;
    font-size: 13px;
    margin: 0 0 8px;
}

.hero-card h2,
.profile-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
}

.muted {
    color: #a2aaa5;
    line-height: 1.45;
    font-size: 14px;
}

.main-button {
    width: 100%;
    margin-top: 18px;
    padding: 15px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #2bff59, #18b83f);
    color: #061008;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
}

.small-button {
    margin-top: 0;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 14px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card p {
    margin: 0;
    color: #8f9b93;
    font-size: 12px;
}

.stat-card h3 {
    margin: 8px 0 4px;
    color: #36e75d;
    font-size: 24px;
}

.stat-card span {
    color: #8f9b93;
    font-size: 11px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 12px 0;
}

.section-title.inside {
    display: block;
}

.section-title h2 {
    margin: 0;
    font-size: 20px;
}

.section-title p {
    margin: 4px 0 0;
    color: #8f9b93;
    font-size: 13px;
}

.signals-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.empty-card {
    padding: 20px;
    border-radius: 20px;
    color: #a2aaa5;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.signal-card {
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        #080d0a;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.signal-card.long {
    border-color: rgba(44, 255, 89, 0.55);
    box-shadow: 0 0 35px rgba(44, 255, 89, 0.08);
}

.signal-card.short {
    border-color: rgba(255, 75, 75, 0.55);
    box-shadow: 0 0 35px rgba(255, 75, 75, 0.08);
}

.signal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.signal-top h3 {
    margin: 0;
    font-size: 24px;
}

.signal-top p {
    margin: 5px 0 0;
    color: #8f9b93;
    font-size: 12px;
}

.direction {
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.direction.long {
    color: #49ef6e;
    background: rgba(44, 255, 89, 0.12);
    border: 1px solid rgba(44, 255, 89, 0.35);
}

.direction.short {
    color: #ff5c5c;
    background: rgba(255, 75, 75, 0.12);
    border: 1px solid rgba(255, 75, 75, 0.35);
}

.trade-status {
    padding: 11px 14px;
    border-radius: 14px;
    font-weight: 800;
    margin-bottom: 14px;
    font-size: 14px;
}

.status-active {
    color: #43e865;
    background: rgba(44, 255, 89, 0.1);
    border: 1px solid rgba(44, 255, 89, 0.3);
}

.status-profit {
    color: #31ff62;
    background: rgba(44, 255, 89, 0.14);
    border: 1px solid rgba(44, 255, 89, 0.45);
}

.status-loss {
    color: #ff5c5c;
    background: rgba(255, 75, 75, 0.12);
    border: 1px solid rgba(255, 75, 75, 0.35);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.levels-grid div {
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.levels-grid span {
    display: block;
    color: #8f9b93;
    font-size: 11px;
    margin-bottom: 7px;
}

.levels-grid strong {
    color: #42e866;
    font-size: 20px;
}

.levels-grid strong.red {
    color: #ff5050;
}

.mini-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.mini-info span {
    padding: 8px 10px;
    border-radius: 999px;
    color: #b8c0bb;
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
}

.tp-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0;
}

.tp-row span {
    padding: 10px;
    text-align: center;
    border-radius: 14px;
    color: #8f9b93;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.tp-row span.hit {
    color: #061008;
    background: linear-gradient(135deg, #2bff59, #18b83f);
}

.reason-box,
.warning-box {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.reason-box p,
.warning-box p {
    margin: 0 0 8px;
    color: #ffffff;
    font-weight: 700;
}

.reason-box ul,
.warning-box ul {
    margin: 0;
    padding-left: 18px;
    color: #aeb7b1;
    font-size: 13px;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
}

.form-grid input,
.form-grid select {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #060907;
    color: #ffffff;
    outline: none;
}

.form-grid button {
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #2bff59, #18b83f);
    color: #061008;
    font-weight: 800;
    cursor: pointer;
}

.manual-result {
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
}

.manual-result.good {
    background: rgba(44, 255, 89, 0.1);
    border: 1px solid rgba(44, 255, 89, 0.35);
}

.manual-result.medium {
    background: rgba(255, 190, 60, 0.1);
    border: 1px solid rgba(255, 190, 60, 0.35);
}

.manual-result.bad {
    background: rgba(255, 75, 75, 0.1);
    border: 1px solid rgba(255, 75, 75, 0.35);
}

.manual-result.loading {
    background: rgba(255, 255, 255, 0.05);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.profile-grid div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.profile-grid span {
    display: block;
    color: #8f9b93;
    font-size: 12px;
    margin-bottom: 8px;
}

.profile-grid strong {
    color: #42e866;
    font-size: 22px;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    padding: 10px 12px 14px;
    background: rgba(3, 5, 4, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 999;
}

.bottom-nav button {
    border: none;
    background: transparent;
    text-align: center;
    color: #8f9b93;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 0;
}

.bottom-nav button span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
}

.bottom-nav button.active {
    color: #38e75f;
}
.notification-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(44, 255, 89, 0.08);
    border: 1px solid rgba(44, 255, 89, 0.25);
}

.notification-box h3 {
    margin: 0 0 8px;
    color: #ffffff;
}

.notification-box p {
    color: #a2aaa5;
    font-size: 14px;
    line-height: 1.4;
}

.notification-box button {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2bff59, #18b83f);
    color: #061008;
    font-weight: 800;
    cursor: pointer;
}

.notification-box .secondary-button {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.notification-status {
    margin-top: 10px;
    color: #38e75f !important;
}

.live-market-box {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.live-price-row span {
    display: block;
    color: #8f9b93;
    font-size: 12px;
    margin-bottom: 5px;
}

.live-price-row strong {
    color: #23ff55;
    font-size: 24px;
}

.chart-toggle-button {
    padding: 10px 14px;
    border: none;
    border-radius: 14px;
    background: rgba(44, 255, 89, 0.12);
    color: #23ff55;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid rgba(44, 255, 89, 0.25);
}

.chart-container {
    margin-top: 14px;
}

.chart-container.hidden {
    display: none;
}

.chart-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #8f9b93;
    font-size: 12px;
}

.zubr-chart {
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #050806;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-settings-box label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    color: #8f9b93;
    font-size: 13px;
}

.live-settings-box select {
    width: 100%;
    padding: 13px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: #060907;
    color: #ffffff;
    outline: none;
}

body[data-theme="zubr"] {
    background:
        radial-gradient(circle at top left, rgba(45, 255, 99, 0.16), transparent 30%),
        linear-gradient(180deg, #020403, #070b08 45%, #030403);
}

body[data-theme="carbon"] {
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 25%),
        linear-gradient(180deg, #020202, #080808 55%, #000000);
}

body[data-theme="neon"] {
    background:
        radial-gradient(circle at top left, rgba(0, 195, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #020712, #03111f 50%, #01040a);
}

body[data-theme="purple"] {
    background:
        radial-gradient(circle at top left, rgba(180, 80, 255, 0.18), transparent 32%),
        linear-gradient(180deg, #08020d, #16051f 55%, #06020a);
}

body[data-theme="silver"] {
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.16), transparent 30%),
        linear-gradient(180deg, #e7e9ea, #cdd2d4);
    color: #071008;
}

.live-badge {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(44, 255, 89, 0.12);
    color: #23ff55;
    border: 1px solid rgba(44, 255, 89, 0.3);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 0 18px rgba(44, 255, 89, 0.12);
}

.chart-container {
    display: block;
    margin-top: 14px;
}

.chart-container.hidden {
    display: block !important;
}

.trade-settings-box label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    color: #8f9b93;
    font-size: 13px;
}

.trade-settings-box input {
    width: 100%;
    padding: 13px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: #060907;
    color: #ffffff;
    outline: none;
}

.trade-calc-box {
    margin: 14px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(44, 255, 89, 0.06);
    border: 1px solid rgba(44, 255, 89, 0.18);
}

.trade-calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.trade-calc-header h4 {
    margin: 0;
    font-size: 16px;
}

.trade-calc-header span {
    color: #23ff55;
    font-size: 12px;
    font-weight: 800;
}

.trade-calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.trade-calc-grid div,
.tp-profit-box div {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
}

.trade-calc-grid span,
.tp-profit-box span,
.trade-summary span {
    display: block;
    color: #8f9b93;
    font-size: 12px;
    margin-bottom: 6px;
}

.trade-calc-grid strong,
.tp-profit-box strong,
.trade-summary strong {
    color: #23ff55;
    font-size: 18px;
}

.tp-profit-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.trade-summary {
    margin-top: 12px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(44,255,89,0.18), rgba(44,255,89,0.06));
    border: 1px solid rgba(44,255,89,0.25);
}

.trade-summary strong {
    display: block;
    font-size: 24px;
}

.trade-warning {
    margin-top: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,75,75,0.1);
    border: 1px solid rgba(255,75,75,0.25);
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 700;
}

.ai-box {
    margin: 14px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(0, 195, 255, 0.07);
    border: 1px solid rgba(0, 195, 255, 0.18);
}

.ai-box h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #00d5ff;
}

.ai-box p {
    margin: 5px 0;
    color: #aeb7b1;
    font-size: 13px;
}

.ai-box strong {
    color: #ffffff;
}

.ai-dashboard-box h4 {
    margin: 16px 0 8px;
    color: #ffffff;
    font-size: 15px;
}

.ai-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin: 14px 0;
}

.ai-stat-grid div {
    padding: 13px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
}

.ai-stat-grid span {
    display: block;
    color: #8f9b93;
    font-size: 12px;
    margin-bottom: 6px;
}

.ai-stat-grid strong {
    color: #23ff55;
    font-size: 22px;
}

.ai-recommendation {
    margin: 12px 0;
    padding: 13px;
    border-radius: 14px;
    background: rgba(0, 195, 255, 0.08);
    border: 1px solid rgba(0, 195, 255, 0.22);
    color: #bfefff;
    font-size: 13px;
    line-height: 1.4;
}

.ai-pattern {
    margin-top: 8px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.ai-pattern strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.ai-pattern span {
    display: block;
    color: #d4ddd8;
    font-size: 12px;
    word-break: break-word;
}

.ai-pattern small {
    display: block;
    color: #8f9b93;
    margin-top: 5px;
}

.good-pattern strong {
    color: #23ff55;
}

.bad-pattern strong {
    color: #ff5c5c;
}

.risk-filter-box {
    margin: 14px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(44, 255, 89, 0.055);
    border: 1px solid rgba(44, 255, 89, 0.18);
}

.risk-filter-box h4 {
    margin: 0 0 8px;
    color: #23ff55;
    font-size: 15px;
}

.risk-filter-box p {
    margin: 6px 0;
    color: #aeb7b1;
    font-size: 13px;
}

.pending-entry {
    margin-top: 12px;
    padding: 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.pending-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pending-top strong {
    color: #ffffff;
    font-size: 16px;
}

.pending-top span {
    color: #23ff55;
    font-weight: 900;
}

.pending-entry p {
    color: #aeb7b1;
    font-size: 13px;
    line-height: 1.4;
}

.pending-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.pending-grid div {
    padding: 11px;
    border-radius: 13px;
    background: rgba(0,0,0,0.16);
}

.pending-grid span {
    display: block;
    color: #8f9b93;
    font-size: 12px;
    margin-bottom: 5px;
}

.pending-grid strong {
    color: #23ff55;
    font-size: 15px;
}

.pending-page-card {
    margin-top: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.pending-page-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
}

.pending-page-card p {
    color: #aeb7b1;
    font-size: 14px;
    line-height: 1.45;
}

.pending-page-card button {
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #2bff59, #18b83f);
    color: #061008;
    font-weight: 900;
}

.big-pending-entry {
    margin-top: 14px;
}

/* ===========================
   ZUBR WHITE FUTURE THEME
   =========================== */

body[data-theme="zubr-white"] {
    background:
        radial-gradient(circle at 50% 0%, rgba(0,0,0,0.035), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f5f6f7 48%, #ffffff 100%);
    color: #050505;
}

body[data-theme="zubr-white"]::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 70%);
    z-index: -1;
}

body[data-theme="zubr-white"] .app {
    color: #050505;
}

body[data-theme="zubr-white"] .header,
body[data-theme="zubr-white"] .topbar {
    color: #050505;
}

body[data-theme="zubr-white"] .header h1,
body[data-theme="zubr-white"] .section-title h2,
body[data-theme="zubr-white"] .profile-card h2,
body[data-theme="zubr-white"] .manual-card h2,
body[data-theme="zubr-white"] .signal-top h3 {
    color: #050505;
    letter-spacing: 0.04em;
}

body[data-theme="zubr-white"] .header p,
body[data-theme="zubr-white"] .section-title p,
body[data-theme="zubr-white"] .muted,
body[data-theme="zubr-white"] .mini-info span,
body[data-theme="zubr-white"] .reason-box ul,
body[data-theme="zubr-white"] .notification-box p,
body[data-theme="zubr-white"] .pending-page-card p {
    color: #5f666a;
}

body[data-theme="zubr-white"] .hero-card,
body[data-theme="zubr-white"] .signal-card,
body[data-theme="zubr-white"] .manual-card,
body[data-theme="zubr-white"] .profile-card,
body[data-theme="zubr-white"] .stat-card,
body[data-theme="zubr-white"] .empty-card,
body[data-theme="zubr-white"] .live-market-box,
body[data-theme="zubr-white"] .notification-box,
body[data-theme="zubr-white"] .pending-page-card,
body[data-theme="zubr-white"] .trade-calc-box,
body[data-theme="zubr-white"] .ai-box,
body[data-theme="zubr-white"] .risk-filter-box {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 0, 0, 0.085);
    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
    color: #050505;
    backdrop-filter: blur(16px);
}

body[data-theme="zubr-white"] .hero-card {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(245,246,247,0.88));
    border: 1px solid rgba(0,0,0,0.08);
}

body[data-theme="zubr-white"] .main-button,
body[data-theme="zubr-white"] .notification-box button,
body[data-theme="zubr-white"] .pending-page-card button {
    background: linear-gradient(135deg, #050505, #2d2d2d);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

body[data-theme="zubr-white"] .main-button:active,
body[data-theme="zubr-white"] .notification-box button:active,
body[data-theme="zubr-white"] .pending-page-card button:active {
    transform: scale(0.99);
}

body[data-theme="zubr-white"] .direction,
body[data-theme="zubr-white"] .live-badge,
body[data-theme="zubr-white"] .chart-toggle-button {
    background: rgba(0,0,0,0.055);
    color: #050505;
    border: 1px solid rgba(0,0,0,0.12);
}

body[data-theme="zubr-white"] .live-price-row strong,
body[data-theme="zubr-white"] .stat-card h3,
body[data-theme="zubr-white"] .profile-grid strong,
body[data-theme="zubr-white"] .trade-calc-grid strong,
body[data-theme="zubr-white"] .tp-profit-box strong,
body[data-theme="zubr-white"] .trade-summary strong,
body[data-theme="zubr-white"] .pending-grid strong,
body[data-theme="zubr-white"] .pending-top span,
body[data-theme="zubr-white"] .ai-stat-grid strong {
    color: #050505;
}

body[data-theme="zubr-white"] .levels-grid div,
body[data-theme="zubr-white"] .trade-calc-grid div,
body[data-theme="zubr-white"] .tp-profit-box div,
body[data-theme="zubr-white"] .pending-grid div,
body[data-theme="zubr-white"] .ai-stat-grid div,
body[data-theme="zubr-white"] .ai-pattern,
body[data-theme="zubr-white"] .pending-entry {
    background: rgba(0,0,0,0.035);
    border: 1px solid rgba(0,0,0,0.055);
}

body[data-theme="zubr-white"] .levels-grid span,
body[data-theme="zubr-white"] .trade-calc-grid span,
body[data-theme="zubr-white"] .tp-profit-box span,
body[data-theme="zubr-white"] .trade-summary span,
body[data-theme="zubr-white"] .pending-grid span,
body[data-theme="zubr-white"] .ai-stat-grid span,
body[data-theme="zubr-white"] .chart-toolbar,
body[data-theme="zubr-white"] .live-price-row span,
body[data-theme="zubr-white"] .live-settings-box label,
body[data-theme="zubr-white"] .trade-settings-box label {
    color: #666d72;
}

body[data-theme="zubr-white"] .reason-box,
body[data-theme="zubr-white"] .ai-recommendation {
    background: rgba(0,0,0,0.035);
    border: 1px solid rgba(0,0,0,0.06);
    color: #111111;
}

body[data-theme="zubr-white"] .zubr-chart {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8);
}

body[data-theme="zubr-white"] .bottom-nav {
    background: rgba(255,255,255,0.92);
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -18px 45px rgba(0,0,0,0.08);
    backdrop-filter: blur(18px);
}

body[data-theme="zubr-white"] .bottom-nav button {
    color: #777;
}

body[data-theme="zubr-white"] .bottom-nav button.active {
    color: #050505;
}

body[data-theme="zubr-white"] input,
body[data-theme="zubr-white"] select,
body[data-theme="zubr-white"] textarea,
body[data-theme="zubr-white"] .live-settings-box select,
body[data-theme="zubr-white"] .trade-settings-box input {
    background: #ffffff;
    color: #050505;
    border: 1px solid rgba(0,0,0,0.12);
}

body[data-theme="zubr-white"] .trade-warning {
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.18);
    color: #b00020;
}

body[data-theme="zubr-white"] .good-pattern strong {
    color: #0b7a28;
}

body[data-theme="zubr-white"] .bad-pattern strong {
    color: #b00020;
}

.zubr-brand-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 4px 0 18px;
}

.zubr-brand-logo img {
    width: min(260px, 72vw);
    height: auto;
    display: block;
    opacity: 0.96;
    filter: drop-shadow(0 14px 26px rgba(0,0,0,0.08));
}

body:not([data-theme="zubr-white"]) .zubr-brand-logo img {
    filter: invert(1) drop-shadow(0 14px 26px rgba(0,0,0,0.18));
}
