/* ═══════════════════════════════════════════════════════════════
   CRYPTO TEK AI - TRADE SPOT PAGE STYLES
   Spot piyasası analiz merkezi
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   EXCHANGE SELECTOR BAR
   ═══════════════════════════════════════════════════════════════ */

.spot-exchange-bar {
    display: flex;
    gap: 8px;
    padding: 12px 16px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.spot-exchange-bar::-webkit-scrollbar {
    display: none;
}

.spot-exchange-pill {
    flex-shrink: 0;
    padding: 7px 16px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.spot-exchange-pill.active {
    background: rgba(245,158,11,0.15);
    border-color: rgba(245,158,11,0.5);
    color: #f59e0b;
}

/* ═══════════════════════════════════════════════════════════════
   COIN SEARCH DROPDOWN
   ═══════════════════════════════════════════════════════════════ */

.spot-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1a1f2e;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.spot-search-dropdown.open {
    display: block;
}

.spot-search-wrapper {
    position: relative;
}

.spot-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s;
}

.spot-dropdown-item:last-child {
    border-bottom: none;
}

.spot-dropdown-item:active {
    background: rgba(255,255,255,0.07);
}

.spot-dropdown-symbol {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
}

.spot-dropdown-symbol strong {
    color: #f59e0b;
}

.spot-dropdown-vol {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
}

.trade-spot-container {
    padding: 0 0 100px 0;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(16,185,129,0.03) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER (trade.css'den bağımsız olarak tanımlandı)
   ═══════════════════════════════════════════════════════════════ */

.trade-spot-container .mobile-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(5,150,105,0.07));
    border-bottom: 1px solid rgba(16,185,129,0.12);
    margin-bottom: 4px;
}

.trade-spot-container .mobile-page-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.trade-spot-container .mobile-page-info {
    flex: 1;
}

.trade-spot-container .mobile-page-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.trade-spot-container .mobile-page-desc {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   TAB NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.spot-tab-nav {
    display: flex;
    gap: 0;
    margin: 16px 16px 0;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,0.08);
}

.spot-tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: rgba(255,255,255,0.5);
}

.spot-tab-btn.active {
    background: rgba(16,185,129,0.18);
    color: #10b981;
    border: 1px solid rgba(16,185,129,0.3);
}

.spot-tab-icon {
    font-size: 18px;
    line-height: 1;
}

.spot-tab-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   TAB CONTENT
   ═══════════════════════════════════════════════════════════════ */

.spot-tab-content {
    padding: 16px;
}

.spot-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   INFO CARD
   ═══════════════════════════════════════════════════════════════ */

.spot-info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(16,185,129,0.07);
    border: 1px solid rgba(16,185,129,0.18);
    border-radius: 14px;
}

.spot-info-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.spot-info-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.spot-info-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH BOX
   ═══════════════════════════════════════════════════════════════ */

.spot-search-wrapper {
    width: 100%;
}

.spot-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    transition: border-color 0.2s;
}

.spot-search-box:focus-within {
    border-color: rgba(16,185,129,0.5);
}

.spot-search-icon {
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    flex-shrink: 0;
}

.spot-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.spot-search-input::placeholder {
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

.spot-search-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.spot-search-btn:active {
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   QUICK COIN CHIPS
   ═══════════════════════════════════════════════════════════════ */

.spot-quick-coins {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.spot-quick-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin: 0;
    flex-shrink: 0;
}

.spot-quick-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.spot-quick-chip {
    padding: 6px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    letter-spacing: 0.5px;
}

.spot-quick-chip:hover,
.spot-quick-chip:active {
    background: rgba(16,185,129,0.15);
    color: #10b981;
    border-color: rgba(16,185,129,0.4);
}

/* ═══════════════════════════════════════════════════════════════
   RESULT AREA
   ═══════════════════════════════════════════════════════════════ */

.spot-result-area {
    border-radius: 16px;
    overflow: hidden;
}

/* Loading */
.spot-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
}

.spot-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(16,185,129,0.2);
    border-top-color: #10b981;
    border-radius: 50%;
    animation: spotSpin 0.8s linear infinite;
}

@keyframes spotSpin {
    to { transform: rotate(360deg); }
}

.spot-loading p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* Error */
.spot-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 14px;
    color: rgba(239,68,68,0.9);
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   RISK SCORE RESULT
   ═══════════════════════════════════════════════════════════════ */

.spot-risk-result {
    padding: 20px;
    border-radius: 16px;
    border: 1.5px solid;
}

.spot-risk-result.risk-low {
    background: rgba(59,130,246,0.07);
    border-color: rgba(59,130,246,0.25);
}

.spot-risk-result.risk-medium {
    background: rgba(245,158,11,0.07);
    border-color: rgba(245,158,11,0.25);
}

.spot-risk-result.risk-high {
    background: rgba(239,68,68,0.07);
    border-color: rgba(239,68,68,0.25);
}

.spot-risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.spot-risk-symbol {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.spot-risk-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.risk-low .spot-risk-badge {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
}
.risk-medium .spot-risk-badge {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}
.risk-high .spot-risk-badge {
    background: rgba(239,68,68,0.15);
    color: #f87171;
}

.spot-risk-score-bar {
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.spot-risk-score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.risk-low .spot-risk-score-fill { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.risk-medium .spot-risk-score-fill { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.risk-high .spot-risk-score-fill { background: linear-gradient(90deg, #ef4444, #f87171); }

.spot-risk-score-text {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}

.spot-risk-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.spot-risk-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
}

.spot-risk-metric-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.spot-risk-metric-value {
    font-size: 13px;
    font-weight: 700;
}

.spot-risk-metric-value.good { color: #10b981; }
.spot-risk-metric-value.neutral { color: #fbbf24; }
.spot-risk-metric-value.bad { color: #f87171; }

/* ═══════════════════════════════════════════════════════════════
   FOMO RESULT
   ═══════════════════════════════════════════════════════════════ */

.spot-fomo-result {
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}

.spot-fomo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.spot-fomo-symbol {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.spot-fomo-verdict {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.spot-fomo-verdict.verdict-ok {
    background: rgba(16,185,129,0.15);
    color: #10b981;
}
.spot-fomo-verdict.verdict-caution {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}
.spot-fomo-verdict.verdict-late {
    background: rgba(239,68,68,0.15);
    color: #f87171;
}

.spot-fomo-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.spot-fomo-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
}

.spot-fomo-metric-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.spot-fomo-metric-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spot-fomo-metric-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.spot-fomo-metric-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.spot-fomo-metric-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.spot-fomo-metric-status.good { background: #10b981; }
.spot-fomo-metric-status.neutral { background: #fbbf24; }
.spot-fomo-metric-status.bad { background: #ef4444; }

/* ═══════════════════════════════════════════════════════════════
   METRICS INFO (FOMO açıklaması)
   ═══════════════════════════════════════════════════════════════ */

.spot-metrics-info {
    padding: 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.07);
}

.spot-metrics-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    margin: 0 0 10px;
}

.spot-metrics-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spot-metrics-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.spot-metrics-list li i {
    color: rgba(16,185,129,0.7);
    width: 14px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   ALERT TYPES (Alarmlar tab)
   ═══════════════════════════════════════════════════════════════ */

.spot-alert-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spot-alert-type-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
}

.spot-alert-type-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.spot-alert-type-info {
    flex: 1;
}

.spot-alert-type-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.spot-alert-type-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.4;
}

.spot-alert-type-badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.spot-alert-type-badge.coming-soon {
    background: rgba(99,102,241,0.15);
    color: rgba(167,169,255,0.9);
    border: 1px solid rgba(99,102,241,0.2);
}

/* ═══════════════════════════════════════════════════════════════
   ALERT USAGE BAR
   ═══════════════════════════════════════════════════════════════ */

.spot-alert-usage-bar {
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    margin-bottom: 16px;
}

.spot-alert-usage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.spot-alert-usage-text {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.spot-alert-usage-count {
    font-size: 14px;
    font-weight: 700;
    color: #10b981;
}

.spot-alert-usage-count.warning {
    color: #f59e0b;
}

.spot-alert-usage-count.full {
    color: #ef4444;
}

.spot-alert-usage-progress {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.spot-alert-usage-fill {
    height: 100%;
    border-radius: 3px;
    background: #10b981;
    transition: width 0.3s ease;
}

.spot-alert-usage-fill.warning {
    background: #f59e0b;
}

.spot-alert-usage-fill.full {
    background: #ef4444;
}

.spot-alert-usage-detail {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════════
   ALERT ADD SECTION
   ═══════════════════════════════════════════════════════════════ */

.spot-alert-add-section {
    padding: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    margin-bottom: 16px;
}

.spot-alert-add-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.spot-alert-coin-input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.spot-alert-coin-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.spot-alert-coin-input:focus {
    border-color: rgba(16,185,129,0.5);
}

.spot-alert-coin-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.spot-alert-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #1e2030;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    margin-top: 4px;
    z-index: 100;
    display: none;
}

.spot-alert-search-dropdown.visible {
    display: block;
}

.spot-alert-search-item {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.spot-alert-search-item:hover {
    background: rgba(255,255,255,0.06);
}

.spot-alert-search-item:last-child {
    border-bottom: none;
}

.spot-alert-search-item .price {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* Alert Type Checkboxes */
.spot-alert-type-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.spot-alert-checkbox-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spot-alert-checkbox-card:hover {
    border-color: rgba(255,255,255,0.15);
}

.spot-alert-checkbox-card.selected {
    border-color: rgba(16,185,129,0.5);
    background: rgba(16,185,129,0.08);
}

.spot-alert-checkbox-card .icon {
    font-size: 18px;
    flex-shrink: 0;
}

.spot-alert-checkbox-card .label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
}

.spot-alert-checkbox-card.selected .label {
    color: #10b981;
}

/* Add Button */
.spot-alert-add-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 1;
}

.spot-alert-add-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.spot-alert-add-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

/* ═══════════════════════════════════════════════════════════════
   ACTIVE ALERTS LIST
   ═══════════════════════════════════════════════════════════════ */

.spot-alert-active-section {
    margin-bottom: 16px;
}

.spot-alert-active-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.spot-alert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    margin-bottom: 8px;
}

.spot-alert-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.spot-alert-item-symbol {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.spot-alert-item-exchange {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

.spot-alert-item-types {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.spot-alert-type-tag {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(99,102,241,0.12);
    color: rgba(167,169,255,0.9);
}

.spot-alert-type-tag.ma200 {
    background: rgba(16,185,129,0.12);
    color: #10b981;
}

.spot-alert-type-tag.trend {
    background: rgba(59,130,246,0.12);
    color: #3b82f6;
}

.spot-alert-type-tag.support {
    background: rgba(245,158,11,0.12);
    color: #f59e0b;
}

.spot-alert-type-tag.whale {
    background: rgba(139,92,246,0.12);
    color: #8b5cf6;
}

.spot-alert-remove-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 8px;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spot-alert-remove-btn:hover {
    background: rgba(239,68,68,0.2);
}

/* Empty State */
.spot-alert-empty {
    text-align: center;
    padding: 32px 16px;
    color: rgba(255,255,255,0.4);
}

.spot-alert-empty .icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.spot-alert-empty p {
    font-size: 13px;
    margin: 0;
}

/* Upgrade Banner */
.spot-alert-upgrade-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 12px;
    margin-bottom: 16px;
    cursor: pointer;
}

.spot-alert-upgrade-banner .icon {
    font-size: 24px;
    flex-shrink: 0;
}

.spot-alert-upgrade-banner .text {
    flex: 1;
}

.spot-alert-upgrade-banner .text h5 {
    font-size: 13px;
    font-weight: 700;
    color: #f59e0b;
    margin: 0 0 2px;
}

.spot-alert-upgrade-banner .text p {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.spot-alert-upgrade-banner .arrow {
    color: #f59e0b;
    font-size: 18px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   LIMIT REACHED BANNER
   ═══════════════════════════════════════════════════════════════ */

.spot-limit-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(239,68,68,0.07);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 14px;
}

.spot-limit-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.spot-limit-info {
    flex: 1;
}

.spot-limit-msg {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 4px;
    line-height: 1.4;
}

.spot-limit-usage {
    font-size: 12px;
    color: rgba(239,68,68,0.8);
    margin: 0;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   UPGRADE BANNER
   ═══════════════════════════════════════════════════════════════ */

.spot-upgrade-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 14px;
}

.spot-upgrade-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.spot-upgrade-text {
    flex: 1;
}

.spot-upgrade-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

.spot-upgrade-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.spot-upgrade-btn:active {
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   DISCLAIMER
   ═══════════════════════════════════════════════════════════════ */

.spot-disclaimer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border-left: 3px solid rgba(245,158,11,0.4);
}

.spot-disclaimer i {
    color: rgba(245,158,11,0.7);
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

.spot-disclaimer p {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   4-LAYER INTELLIGENCE RESULT CARDS
   ═══════════════════════════════════════════════════════════════ */

.spot-intel-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spot-intel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.spot-intel-symbol {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
}

.spot-intel-price {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

/* ── Layer Card Container ── */
.spot-layer-card {
    padding: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spot-layer-card.spot-layer-locked {
    opacity: 0.65;
}

.spot-layer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.3px;
}

.spot-layer-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    color: #f59e0b;
    flex-shrink: 0;
}

.spot-lock-badge {
    margin-left: auto;
    padding: 3px 8px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(167,169,255,0.9);
}

.spot-upgrade-hint {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px dashed rgba(255,255,255,0.1);
}

/* ── Layer 1: Structural Bias ── */
.spot-struct-bias {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid;
}

.spot-struct-bias.bias-bull {
    background: rgba(46,213,115,0.08);
    border-color: rgba(46,213,115,0.3);
}

.spot-struct-bias.bias-bear {
    background: rgba(255,71,87,0.08);
    border-color: rgba(255,71,87,0.3);
}

.spot-struct-bias.bias-side {
    background: rgba(255,165,2,0.08);
    border-color: rgba(255,165,2,0.25);
}

.spot-struct-emoji {
    font-size: 22px;
    flex-shrink: 0;
}

.spot-struct-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.spot-struct-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.spot-struct-confidence {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.spot-struct-bar {
    width: 80px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.spot-struct-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.spot-tf-row {
    display: flex;
    gap: 8px;
}

.spot-tf-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
}

.spot-tf-icon {
    font-size: 14px;
}

.spot-tf-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
}

/* ── Layer 2: Global Risk & Decomposition ── */
.spot-global-risk {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spot-risk-badge-lg {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    border: 1.5px solid;
    background: rgba(255,255,255,0.05);
    white-space: nowrap;
}

.spot-global-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.spot-global-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.spot-global-score {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    flex-shrink: 0;
    min-width: 44px;
    text-align: right;
}

.spot-decomp-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spot-decomp-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-decomp-label {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    width: 130px;
    flex-shrink: 0;
}

.spot-decomp-bar-wrap {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.spot-decomp-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.spot-decomp-score {
    font-size: 11px;
    font-weight: 700;
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}

/* ── Layer 3: Entry Timing & FOMO ── */
.spot-timing-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid;
    background: rgba(255,255,255,0.04);
    line-height: 1.3;
}

.spot-fomo-prob {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spot-fomo-prob-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.spot-fomo-prob-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.spot-fomo-prob-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.spot-fomo-prob-val {
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    min-width: 38px;
    text-align: right;
}

.spot-changes-row {
    display: flex;
    gap: 8px;
}

.spot-change-pill {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}

.spot-change-period {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.spot-change-val {
    font-size: 14px;
    font-weight: 800;
}

/* ── Layer 4: Scenario Cards ── */
.spot-scenarios {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spot-scenario-card {
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spot-sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spot-sc-id {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.spot-sc-prob {
    font-size: 16px;
    font-weight: 800;
}

.spot-sc-trigger {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

.spot-sc-confirm {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-style: italic;
    line-height: 1.4;
}

.spot-sc-targets {
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.spot-sc-target {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    color: rgba(255,255,255,0.65);
}

/* ── Enhanced FOMO Result ── */
.spot-fomo-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
}

.spot-fomo-metric-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.spot-fomo-metric-dot.good { background: #10b981; }
.spot-fomo-metric-dot.neutral { background: #fbbf24; }
.spot-fomo-metric-dot.bad { background: #ef4444; }

/* ═══════════════════════════════════════════════════════════════
   SCROLLABLE TAB NAV (4+ tabs)
   ═══════════════════════════════════════════════════════════════ */

.spot-tab-nav-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

.spot-tab-nav-scroll::-webkit-scrollbar {
    display: none;
}

.spot-tab-nav-scroll .spot-tab-btn {
    min-width: 0;
    flex: 0 0 auto;
    padding: 10px 12px;
}

/* ═══════════════════════════════════════════════════════════════
   PATTERN SCANNER
   ═══════════════════════════════════════════════════════════════ */

.spot-scanner-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.spot-scanner-filters::-webkit-scrollbar {
    display: none;
}

.spot-filter-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.spot-filter-btn.active {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.4);
    color: #10b981;
}

.spot-scanner-run-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
    letter-spacing: 0.3px;
}

.spot-scanner-run-btn:active {
    opacity: 0.8;
}

.spot-scanner-run-btn i {
    font-size: 16px;
}

.spot-scanner-result-area {
    min-height: 0;
}

.spot-scanner-summary {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    padding: 8px 0;
}

.spot-scanner-summary strong {
    color: #10b981;
    font-weight: 700;
}

.spot-scanner-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spot-scanner-coin-card {
    padding: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.spot-scanner-coin-card:active {
    background: rgba(255,255,255,0.07);
    border-color: rgba(16,185,129,0.3);
}

.spot-scanner-coin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spot-scanner-coin-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.spot-scanner-coin-symbol {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

.spot-scanner-coin-price {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

.spot-scanner-coin-change {
    font-size: 13px;
    font-weight: 700;
}

.spot-scanner-patterns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spot-scanner-tag {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.spot-scanner-tag.scanner-tag-bull {
    background: rgba(46,213,115,0.12);
    color: #2ed573;
    border: 1px solid rgba(46,213,115,0.25);
}

.spot-scanner-tag.scanner-tag-bear {
    background: rgba(255,71,87,0.12);
    color: #ff4757;
    border: 1px solid rgba(255,71,87,0.25);
}

.spot-scanner-coin-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spot-scanner-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-scanner-score-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    width: 75px;
}

.spot-scanner-score-bar {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.spot-scanner-score-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.spot-scanner-score-val {
    font-size: 12px;
    font-weight: 800;
    min-width: 32px;
    text-align: right;
    flex-shrink: 0;
}

.spot-scanner-alignment {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    padding: 4px 0 0;
}

.spot-scanner-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
}

.spot-scanner-empty-icon {
    font-size: 32px;
}

.spot-scanner-empty p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   SMART BUY ZONES
   ═══════════════════════════════════════════════════════════════ */

.spot-buyzones-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spot-bz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.spot-bz-symbol {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.spot-bz-price {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

.spot-bz-condition {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1.5px solid;
}

.spot-bz-cond-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.spot-bz-cond-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.spot-bz-rsi {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.spot-bz-rsi-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
    width: 80px;
}

.spot-bz-rsi-bar {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.spot-bz-rsi-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.spot-bz-rsi-val {
    font-size: 13px;
    font-weight: 800;
    min-width: 30px;
    text-align: right;
    flex-shrink: 0;
}

.spot-bz-zones-title,
.spot-bz-levels-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    padding: 4px 0 0;
}

.spot-bz-zones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spot-bz-zone-card {
    padding: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    border-left: 3px solid;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spot-bz-zone-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-bz-zone-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.spot-bz-zone-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex: 1;
}

.spot-bz-zone-alloc {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}

.spot-bz-zone-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.4;
}

.spot-bz-zone-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.spot-bz-zone-price {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.spot-bz-zone-pct {
    font-size: 12px;
    font-weight: 700;
}

.spot-bz-zone-strength {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-bz-str-label {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    width: 30px;
}

.spot-bz-str-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.spot-bz-str-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.spot-bz-str-val {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    min-width: 28px;
    text-align: right;
    flex-shrink: 0;
}

.spot-bz-levels {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spot-bz-level-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.spot-bz-level-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.spot-bz-level-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    flex: 1;
}

.spot-bz-level-price {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
}

.spot-bz-level-pct {
    font-size: 11px;
    font-weight: 700;
    min-width: 45px;
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════════
   WHALE TRACKER
   ═══════════════════════════════════════════════════════════════ */

.spot-whale-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spot-whale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.spot-whale-symbol {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.spot-whale-price {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

/* Flow (Accumulation/Distribution) */
.spot-whale-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1.5px solid;
}

.spot-whale-flow-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.spot-whale-flow-icon {
    font-size: 22px;
}

.spot-whale-flow-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spot-whale-flow-label {
    font-size: 14px;
    font-weight: 700;
}

.spot-whale-flow-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.spot-whale-flow-score {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 140px;
}

.spot-whale-flow-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.spot-whale-flow-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.spot-whale-flow-val {
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 45px;
    text-align: right;
}

/* WAI (Whale Activity Index) */
.spot-whale-wai {
    padding: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spot-whale-wai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spot-whale-wai-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}

.spot-whale-wai-badge {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    border: 1.5px solid;
    background: rgba(255,255,255,0.04);
}

.spot-whale-wai-bar {
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.spot-whale-wai-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.spot-whale-wai-val {
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

/* Volume Profile */
.spot-whale-volprofile {
    padding: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
}

.spot-whale-volprofile-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.spot-whale-volbar-container {
    display: flex;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
}

.spot-whale-volbar-buy {
    background: rgba(46,213,115,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    transition: width 0.5s ease;
}

.spot-whale-volbar-buy span {
    font-size: 11px;
    font-weight: 700;
    color: #2ed573;
    white-space: nowrap;
}

.spot-whale-volbar-sell {
    background: rgba(255,71,87,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    transition: width 0.5s ease;
}

.spot-whale-volbar-sell span {
    font-size: 11px;
    font-weight: 700;
    color: #ff4757;
    white-space: nowrap;
}

/* Volume Ratios */
.spot-whale-ratios {
    display: flex;
    gap: 10px;
}

.spot-whale-ratio-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
}

.spot-whale-ratio-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.spot-whale-ratio-val {
    font-size: 20px;
    font-weight: 900;
}

.spot-whale-spike-tag {
    padding: 2px 8px;
    background: rgba(255,71,87,0.15);
    border: 1px solid rgba(255,71,87,0.3);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #ff4757;
}

/* Large Moves */
.spot-whale-moves-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    padding: 4px 0 0;
}

.spot-whale-moves {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spot-whale-move-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    border-left: 3px solid;
}

.spot-whale-move-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spot-whale-move-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.spot-whale-move-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spot-whale-move-label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.spot-whale-move-time {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.spot-whale-move-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.spot-whale-move-vol {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.spot-whale-move-impact {
    font-size: 14px;
    font-weight: 800;
}

.spot-whale-no-moves {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
}

.spot-whale-no-moves span {
    font-size: 28px;
}

.spot-whale-no-moves p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0;
    text-align: center;
}

/* Verdict color classes */
.verdict-very_late { background: rgba(255,71,87,0.12); color: #ff4757; border-radius: 20px; padding: 8px 14px; font-weight: 700; font-size: 13px; }
.verdict-late      { background: rgba(255,107,53,0.12); color: #ff6b35; border-radius: 20px; padding: 8px 14px; font-weight: 700; font-size: 13px; }
.verdict-caution   { background: rgba(255,165,2,0.12); color: #ffa502; border-radius: 20px; padding: 8px 14px; font-weight: 700; font-size: 13px; }
.verdict-moderate  { background: rgba(46,213,115,0.12); color: #2ed573; border-radius: 20px; padding: 8px 14px; font-weight: 700; font-size: 13px; }
.verdict-early     { background: rgba(30,144,255,0.12); color: #1e90ff; border-radius: 20px; padding: 8px 14px; font-weight: 700; font-size: 13px; }
.verdict-ok        { background: rgba(16,185,129,0.15); color: #10b981; border-radius: 20px; padding: 8px 14px; font-weight: 700; font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO HEALTH ANALYSIS
   ═══════════════════════════════════════════════════════════════ */

.spot-ph-modes {
    display: flex; gap: 8px;
}
.spot-ph-mode-btn {
    flex: 1; display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.1); border-radius: 12px;
    cursor: pointer; transition: all 0.2s; color: rgba(255,255,255,0.6);
}
.spot-ph-mode-btn.active {
    background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.35);
    color: #10b981;
}
.spot-ph-mode-icon { font-size: 20px; flex-shrink: 0; }
.spot-ph-mode-info { display: flex; flex-direction: column; gap: 2px; }
.spot-ph-mode-label { font-size: 13px; font-weight: 700; }
.spot-ph-mode-desc { font-size: 11px; opacity: 0.6; }

.spot-ph-manual-area { display: flex; flex-direction: column; gap: 10px; }
.spot-ph-coin-list { display: flex; flex-direction: column; gap: 6px; }
.spot-ph-coin-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
}
.spot-ph-coin-symbol { font-size: 14px; font-weight: 800; color: #fff; flex: 1; letter-spacing: 0.5px; }
.spot-ph-coin-amount { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 600; }
.spot-ph-coin-remove {
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,71,87,0.1); border: 1px solid rgba(255,71,87,0.2);
    border-radius: 8px; cursor: pointer; color: #ff4757; font-size: 12px;
    transition: background 0.2s;
}
.spot-ph-coin-remove:hover { background: rgba(255,71,87,0.2); }

.spot-ph-add-row {
    display: flex; gap: 8px; align-items: center;
}
.spot-ph-coin-input, .spot-ph-amount-input {
    flex: 1; padding: 10px 12px; background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12); border-radius: 10px;
    color: #fff; font-size: 14px; font-weight: 500; outline: none;
    transition: border-color 0.2s;
}
.spot-ph-coin-input-wrap {
    position: relative; flex: 1; max-width: 160px;
}
.spot-ph-coin-input-wrap .spot-dropdown {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
    background: #1a1d2e; border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px; margin-top: 4px; max-height: 200px;
    overflow-y: auto; display: none;
}
.spot-ph-coin-input-wrap .spot-dropdown.open { display: block; }
.spot-ph-coin-input { max-width: none; text-transform: uppercase; width: 100%; }
.spot-ph-amount-input { max-width: 100px; }
.spot-ph-coin-input:focus, .spot-ph-amount-input:focus {
    border-color: rgba(16,185,129,0.5);
}
.spot-ph-coin-input::placeholder, .spot-ph-amount-input::placeholder {
    color: rgba(255,255,255,0.3); font-size: 13px;
}
.spot-ph-add-btn {
    flex-shrink: 0; padding: 10px 14px; background: rgba(16,185,129,0.15);
    border: 1.5px solid rgba(16,185,129,0.3); border-radius: 10px;
    color: #10b981; font-size: 13px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; gap: 6px; transition: background 0.2s;
    white-space: nowrap;
}
.spot-ph-add-btn:hover { background: rgba(16,185,129,0.25); }
.spot-ph-hint {
    font-size: 12px; color: rgba(255,255,255,0.35); margin: 0; text-align: center;
}

.spot-ph-manual-desc {
    font-size: 12px; color: rgba(255,255,255,0.35); margin: 4px 0 0; line-height: 1.5;
}
.spot-ph-api-area { padding: 0; }
.spot-ph-api-loading {
    display: flex; align-items: center; gap: 10px; justify-content: center;
    padding: 24px; color: rgba(255,255,255,0.5); font-size: 13px;
}
.spot-ph-api-loading i { font-size: 18px; color: #6366f1; }
.spot-ph-api-connected {
    padding: 20px; background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.2); border-radius: 12px;
    text-align: center;
}
.spot-ph-api-status {
    display: flex; align-items: center; gap: 8px; justify-content: center;
    font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 6px;
}
.spot-ph-api-status strong { color: #10b981; font-weight: 800; }
.spot-ph-api-ready {
    font-size: 12px; color: rgba(255,255,255,0.4); margin: 0;
}
.spot-ph-api-setup {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 24px 16px; background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.15); border-radius: 14px;
    text-align: center;
}
.spot-ph-api-setup-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
    display: flex; align-items: center; justify-content: center;
}
.spot-ph-api-setup-icon i { font-size: 20px; color: #6366f1; }
.spot-ph-api-setup-text {
    font-size: 13px; color: rgba(255,255,255,0.55); margin: 0; line-height: 1.5;
}
.spot-ph-api-connect-btn {
    padding: 12px 24px; border: none; border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    transition: opacity 0.2s;
}
.spot-ph-api-connect-btn:active { opacity: 0.8; }
.spot-ph-api-info {
    display: flex; align-items: center; gap: 12px;
    padding: 16px; background: rgba(99,102,241,0.07);
    border: 1px solid rgba(99,102,241,0.18); border-radius: 12px;
    color: rgba(255,255,255,0.6); font-size: 13px;
}
.spot-ph-api-info i { color: #6366f1; font-size: 18px; flex-shrink: 0; }
.spot-ph-api-info p { margin: 0; line-height: 1.4; }

.spot-ph-analyze-btn {
    width: 100%; padding: 14px; border: none; border-radius: 14px;
    color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: opacity 0.2s; letter-spacing: 0.3px;
    background: linear-gradient(135deg, #10b981, #059669);
}
.spot-ph-analyze-btn:disabled {
    opacity: 0.4; cursor: not-allowed;
}
.spot-ph-analyze-btn:not(:disabled):active { opacity: 0.8; }
.spot-ph-analyze-btn i { font-size: 16px; }

/* ── Portfolio Health Result ── */

.spot-ph-result { display: flex; flex-direction: column; gap: 14px; }

.spot-ph-score-section {
    display: flex; align-items: center; gap: 20px;
    padding: 20px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09); border-radius: 16px;
}

.spot-ph-score-ring {
    width: 90px; height: 90px; border-radius: 50%;
    background: conic-gradient(var(--ph-color) calc(var(--ph-pct) * 3.6deg), rgba(255,255,255,0.08) 0deg);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.spot-ph-score-inner {
    width: 72px; height: 72px; border-radius: 50%;
    background: #1a1a2e; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0;
}
.spot-ph-score-num { font-size: 26px; font-weight: 900; color: #fff; line-height: 1; }
.spot-ph-score-label { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; }

.spot-ph-score-info {
    display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.spot-ph-level-badge {
    display: inline-block; padding: 5px 14px; border-radius: 10px;
    font-size: 13px; font-weight: 700; border: 1.5px solid;
    background: rgba(255,255,255,0.04); width: fit-content;
}
.spot-ph-total-value {
    font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -0.5px;
}

.spot-ph-metrics-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.spot-ph-metric-card {
    padding: 12px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
    display: flex; flex-direction: column; gap: 6px;
}
.spot-ph-metric-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; }
.spot-ph-metric-bar { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.spot-ph-metric-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
.spot-ph-metric-val { font-size: 16px; font-weight: 900; }

.spot-ph-holdings-title {
    font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7); padding: 4px 0 0;
}

.spot-ph-holdings { display: flex; flex-direction: column; gap: 6px; }
.spot-ph-holding-item {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 10px 12px; background: rgba(255,255,255,0.03);
    border-radius: 10px; border: 1px solid rgba(255,255,255,0.06);
}
.spot-ph-holding-left { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 80px; }
.spot-ph-holding-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.spot-ph-holding-symbol { font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 0.3px; }
.spot-ph-holding-right { display: flex; align-items: baseline; gap: 8px; }
.spot-ph-holding-value { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.spot-ph-holding-pct { font-size: 12px; font-weight: 800; color: rgba(255,255,255,0.5); }
.spot-ph-holding-bar-wrap {
    width: 100%; height: 4px; background: rgba(255,255,255,0.06);
    border-radius: 2px; overflow: hidden;
}
.spot-ph-holding-bar { height: 100%; border-radius: 2px; transition: width 0.5s ease; }

.spot-ph-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.spot-ph-cat-item {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
}
.spot-ph-cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.spot-ph-cat-label { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; }
.spot-ph-cat-pct { font-size: 12px; font-weight: 800; }

.spot-ph-recommendations { display: flex; flex-direction: column; gap: 8px; }
.spot-ph-rec-item {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px 14px; background: rgba(255,165,2,0.06);
    border: 1px solid rgba(255,165,2,0.15); border-radius: 12px;
}
.spot-ph-rec-item i { color: #ffa502; font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.spot-ph-rec-item p { font-size: 13px; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.5; }

/* ===== AI SUMMARY ===== */
.spot-ph-ai-summary {
    background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 100%);
    border: 1px solid rgba(99,102,241,0.2); border-radius: 14px; padding: 14px;
}
.spot-ph-ai-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
    font-size: 13px; font-weight: 800; color: #a78bfa;
}
.spot-ph-ai-header i { font-size: 16px; }
.spot-ph-ai-text { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.65; }

/* ===== DONUT CHART ===== */
.spot-ph-donut-wrap {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; padding: 16px;
}
.spot-ph-donut {
    width: 110px; height: 110px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.spot-ph-donut-center {
    width: 70px; height: 70px; border-radius: 50%;
    background: #1a1d2e; display: flex; align-items: center; justify-content: center;
}
.spot-ph-donut-value { font-size: 13px; font-weight: 800; color: #fff; }
.spot-ph-donut-legend { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.spot-ph-legend-item { display: flex; align-items: center; gap: 6px; }
.spot-ph-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.spot-ph-legend-label { font-size: 12px; color: rgba(255,255,255,0.6); flex: 1; }
.spot-ph-legend-pct { font-size: 12px; font-weight: 800; color: rgba(255,255,255,0.8); }

/* ===== COIN DETAIL CARDS ===== */
.spot-ph-coin-details { display: flex; flex-direction: column; gap: 10px; }
.spot-ph-coin-detail {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.spot-ph-coin-row1 {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.spot-ph-coin-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.spot-ph-coin-name { font-size: 14px; font-weight: 900; color: #fff; letter-spacing: 0.5px; }
.spot-ph-coin-cat {
    font-size: 10px; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06);
    padding: 2px 6px; border-radius: 4px; font-weight: 600;
}
.spot-ph-coin-val { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); margin-left: auto; }
.spot-ph-coin-pct { font-size: 12px; font-weight: 800; color: rgba(255,255,255,0.5); }
.spot-ph-coin-row2 { display: flex; align-items: center; gap: 10px; }
.spot-ph-coin-spark { flex: 1; height: 30px; }
.spot-ph-sparksvg { width: 100%; height: 100%; }
.spot-ph-coin-price { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; white-space: nowrap; }
.spot-ph-coin-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.spot-ph-stat {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    background: rgba(255,255,255,0.03); border-radius: 8px; padding: 6px 4px;
}
.spot-ph-stat-label { font-size: 10px; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; }
.spot-ph-stat-val { font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.8); }
.spot-ph-stat-val.positive { color: #2ed573; }
.spot-ph-stat-val.negative { color: #ff4757; }
.spot-ph-coin-trend { display: flex; align-items: center; gap: 6px; }
.spot-ph-trend-badge {
    font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px;
    border: 1px solid; display: inline-flex; align-items: center; gap: 4px;
}

/* ===== RISK ANALYSIS ===== */
.spot-ph-risk-section {
    display: flex; flex-direction: column; gap: 10px;
}
.spot-ph-risk-level {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 800; padding: 6px 14px;
    border: 1px solid; border-radius: 8px; align-self: flex-start;
}
.spot-ph-risk-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.spot-ph-risk-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px;
}
.spot-ph-risk-card-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; }
.spot-ph-risk-card-val { font-size: 18px; font-weight: 900; color: #fff; }
.spot-ph-risk-card-val.negative { color: #ff4757; }
.spot-ph-risk-factors { display: flex; flex-direction: column; gap: 6px; }
.spot-ph-risk-factor {
    display: flex; align-items: center; gap: 8px; font-size: 12px;
    color: rgba(255,255,255,0.6); padding: 8px 10px;
    background: rgba(255,255,255,0.03); border-radius: 8px;
}
.spot-ph-risk-factor i { font-size: 13px; flex-shrink: 0; }

/* ===== BTC IMPACT CARD ===== */
.spot-ph-btc-impact {
    background: linear-gradient(135deg, rgba(247,147,26,0.08) 0%, rgba(247,147,26,0.03) 100%);
    border: 1px solid rgba(247,147,26,0.15); border-radius: 12px; padding: 14px;
}
.spot-ph-btc-header {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 800; color: #f7931a; margin-bottom: 8px;
}
.spot-ph-btc-body { display: flex; align-items: baseline; gap: 10px; }
.spot-ph-btc-label { font-size: 12px; color: rgba(255,255,255,0.5); }
.spot-ph-btc-val { font-size: 20px; font-weight: 900; }
.spot-ph-btc-val.negative { color: #ff4757; }

/* ===== REBALANCE ===== */
.spot-ph-rebalance { display: flex; flex-direction: column; gap: 8px; }
.spot-ph-rebalance-item {
    display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.spot-ph-rebalance-item i { font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.spot-ph-rebalance-info { flex: 1; }
.spot-ph-rebalance-row {
    display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
    font-size: 13px; color: #fff;
}
.spot-ph-rebalance-row strong { font-weight: 900; letter-spacing: 0.3px; }
.spot-ph-rebalance-row span { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; }
.spot-ph-rebalance-info p { font-size: 12px; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.4; }

/* ===== LOCKED SECTIONS ===== */
.spot-ph-locked-section { position: relative; }
.spot-ph-locked-blur { filter: blur(4px); pointer-events: none; opacity: 0.5; }
.spot-ph-locked-overlay {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px; font-size: 13px; font-weight: 700; color: #a78bfa;
    background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.15);
    border-radius: 10px; margin-top: 8px; cursor: pointer;
}
.spot-ph-locked-overlay i { font-size: 14px; }

/* ===== HEATMAP ===== */
.spot-heatmap-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.spot-heatmap-cats,
.spot-heatmap-timeframes,
.spot-heatmap-sorts {
    display: flex; gap: 6px; flex-wrap: wrap;
}

.spot-heatmap-cat-btn,
.spot-heatmap-tf-btn,
.spot-heatmap-sort-btn {
    padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.55);
    font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.spot-heatmap-cat-btn.active,
.spot-heatmap-tf-btn.active,
.spot-heatmap-sort-btn.active {
    background: rgba(0,212,255,0.15); border-color: rgba(0,212,255,0.4);
    color: #00d4ff;
}
.spot-heatmap-cat-btn:hover:not(.active):not(.spot-heatmap-locked),
.spot-heatmap-tf-btn:hover:not(.active):not(.spot-heatmap-locked),
.spot-heatmap-sort-btn:hover:not(.active) {
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8);
}
.spot-heatmap-locked {
    opacity: 0.4; cursor: not-allowed; position: relative;
}
.spot-heatmap-locked::after {
    content: '🔒'; font-size: 9px; margin-left: 4px;
}

/* Heatmap Grid */
.spot-heatmap-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px; margin: 16px 0;
}
.spot-heatmap-tile {
    padding: 10px 8px; border-radius: 10px; text-align: center;
    transition: transform 0.2s, box-shadow 0.2s; cursor: default;
}
.spot-heatmap-tile:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.spot-heatmap-tile-symbol { font-weight: 800; font-size: 13px; color: #fff; margin-bottom: 3px; }
.spot-heatmap-tile-price { font-size: 10px; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.spot-heatmap-tile-change { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.spot-heatmap-tile-vol { font-size: 9px; color: rgba(255,255,255,0.5); }

/* Heatmap Color Classes */
.hm-strong-up { background: rgba(0, 200, 83, 0.25); border: 1px solid rgba(0, 200, 83, 0.4); }
.hm-strong-up .spot-heatmap-tile-change { color: #00e676; }
.hm-up { background: rgba(0, 200, 83, 0.15); border: 1px solid rgba(0, 200, 83, 0.25); }
.hm-up .spot-heatmap-tile-change { color: #69f0ae; }
.hm-slight-up { background: rgba(0, 200, 83, 0.08); border: 1px solid rgba(0, 200, 83, 0.15); }
.hm-slight-up .spot-heatmap-tile-change { color: #a5d6a7; }
.hm-neutral { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.hm-neutral .spot-heatmap-tile-change { color: rgba(255,255,255,0.5); }
.hm-slight-down { background: rgba(255, 82, 82, 0.08); border: 1px solid rgba(255, 82, 82, 0.15); }
.hm-slight-down .spot-heatmap-tile-change { color: #ef9a9a; }
.hm-down { background: rgba(255, 82, 82, 0.15); border: 1px solid rgba(255, 82, 82, 0.25); }
.hm-down .spot-heatmap-tile-change { color: #ff5252; }
.hm-strong-down { background: rgba(255, 82, 82, 0.25); border: 1px solid rgba(255, 82, 82, 0.4); }
.hm-strong-down .spot-heatmap-tile-change { color: #ff1744; }

/* Text color helpers */
.hm-up-text { color: #00e676; }
.hm-down-text { color: #ff5252; }

/* Heatmap Summary */
.spot-heatmap-summary {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 14px; margin-bottom: 14px;
}
.spot-heatmap-summary h4 { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0 0 10px; }
.spot-heatmap-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spot-heatmap-stat { display: flex; flex-direction: column; gap: 3px; }
.spot-heatmap-stat-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; }
.spot-heatmap-stat-val { font-size: 16px; font-weight: 800; color: #fff; }

/* Gainers/Losers */
.spot-heatmap-gl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.spot-heatmap-gl-col { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 12px; }
.spot-heatmap-gl-col h4 { font-size: 12px; margin: 0 0 8px; }
.spot-heatmap-gl-item { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.spot-heatmap-gl-item:last-child { border-bottom: none; }
.spot-heatmap-gl-item span:first-child { font-weight: 700; font-size: 12px; color: rgba(255,255,255,0.8); }
.spot-heatmap-gl-item span:last-child { font-weight: 700; font-size: 12px; }

.spot-heatmap-empty {
    text-align: center; padding: 40px 20px; color: rgba(255,255,255,0.4); font-size: 13px;
}
.spot-heatmap-result { margin-top: 8px; }

/* ===== COMPARATOR ===== */
.spot-comp-inputs {
    display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px;
}
.spot-comp-input-group {
    flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.spot-comp-label {
    font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase;
    letter-spacing: 0.8px; font-weight: 700;
}
.spot-comp-input-group .spot-search-box {
    padding: 8px 12px;
}
.spot-comp-vs {
    font-size: 13px; font-weight: 800; color: rgba(16,185,129,0.7);
    padding-bottom: 12px; flex-shrink: 0;
}
.spot-comp-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.1s;
    margin-bottom: 8px;
}
.spot-comp-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}
.spot-comp-result { margin-top: 8px; }

/* Comparison Header */
.spot-comp-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px 14px 0 0; margin-bottom: 0;
}
.spot-comp-col-a, .spot-comp-col-b {
    font-size: 18px; font-weight: 800; color: #00d4ff;
}
.spot-comp-col-label {
    font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.3);
}

/* Comparison Table */
.spot-comp-table {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08);
    border-top: none; border-radius: 0 0 14px 14px; overflow: hidden;
}
.spot-comp-row {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px;
    padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
}
.spot-comp-row:last-child { border-bottom: none; }
.spot-comp-val { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); }
.spot-comp-val:first-child { text-align: left; }
.spot-comp-val:last-child { text-align: right; }
.spot-comp-label {
    font-size: 10px; color: rgba(255,255,255,0.4); text-align: center;
    text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; white-space: nowrap;
}
.spot-comp-winner { color: #00d4ff !important; }

.spot-comp-pro-row {
    padding: 12px 14px; text-align: center;
    background: rgba(255,165,2,0.06); border-top: 1px solid rgba(255,165,2,0.15);
}
.spot-comp-pro-row span { font-size: 11px; color: #ffa502; }

/* Verdict */
.spot-comp-verdict {
    margin-top: 14px; padding: 14px; background: rgba(0,212,255,0.05);
    border: 1px solid rgba(0,212,255,0.15); border-radius: 14px;
}
.spot-comp-verdict h4 { font-size: 13px; color: #00d4ff; margin: 0 0 8px; }
.spot-comp-verdict ul { list-style: none; padding: 0; margin: 0; }
.spot-comp-verdict li {
    padding: 5px 0; font-size: 12px; color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.spot-comp-verdict li:last-child { border-bottom: none; }
.spot-comp-verdict li::before { content: '•'; color: #00d4ff; margin-right: 8px; }

/* ===== VOLATILITY ===== */
.spot-vol-result { margin-top: 8px; }
.spot-vol-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; margin-bottom: 10px;
}
.spot-vol-symbol { font-size: 20px; font-weight: 800; color: #00d4ff; }
.spot-vol-price { font-size: 16px; font-weight: 700; color: #fff; }

.spot-vol-metrics-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px;
}
.spot-vol-metric {
    padding: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; display: flex; flex-direction: column; gap: 5px;
}
.spot-vol-metric-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; }
.spot-vol-metric-val { font-size: 14px; font-weight: 700; color: #fff; }
.spot-vol-risk-badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px; border: 1px solid;
    font-size: 11px; font-weight: 700; width: fit-content;
}

/* Liquidity Score */
.spot-vol-liquidity {
    padding: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; margin-bottom: 12px;
}
.spot-vol-liq-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.spot-vol-liq-header span:first-child { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; }
.spot-vol-liq-score { font-size: 18px; font-weight: 800; }
.spot-vol-liq-bar {
    height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; margin-bottom: 6px;
}
.spot-vol-liq-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.spot-vol-liq-label { font-size: 11px; font-weight: 600; }

/* Depth */
.spot-vol-depth {
    padding: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; margin-top: 12px;
}
.spot-vol-depth h4 { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0 0 10px; }
.spot-vol-depth-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.spot-vol-depth-side { flex: 1; text-align: center; }
.spot-vol-depth-label { font-size: 10px; color: rgba(255,255,255,0.4); display: block; margin-bottom: 3px; }
.spot-vol-depth-val { font-size: 14px; font-weight: 800; }
.spot-vol-bid-side .spot-vol-depth-val { color: #00e676; }
.spot-vol-ask-side .spot-vol-depth-val { color: #ff5252; }
.spot-vol-depth-bar {
    display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255,82,82,0.3);
}
.spot-vol-depth-bid { background: rgba(0,230,118,0.6); transition: width 0.5s ease; }
.spot-vol-depth-ask { flex: 1; }
