:root {
    --cid-bg: #0a0e1a;
    --cid-card: #131825;
    --cid-border: #1e2435;
    --cid-text: #e4e7ed;
    --cid-dim: #8b92a8;
    --cid-blue: #3b82f6;
    --cid-green: #10b981;
    --cid-red: #ef4444;
}

.cid-dashboard {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: var(--cid-bg);
    color: var(--cid-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Top Section: 2 Columns */
.cid-top-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .cid-top-section {
        grid-template-columns: 1fr;
    }
}

/* Featured Card */
.cid-featured-card {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all .3s;
}

.cid-featured-card:hover {
    border-color: var(--cid-blue);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.cid-featured-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cid-featured-code {
    font-size: 16px;
    font-weight: 700;
    color: var(--cid-blue);
}

.cid-featured-name {
    font-size: 13px;
    color: var(--cid-dim);
}

.cid-featured-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cid-featured-change {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cid-featured-change.positive { color: var(--cid-green); }
.cid-featured-change.negative { color: var(--cid-red); }

.cid-featured-chart {
    height: 140px;
}

.cid-featured-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Right Cards */
.cid-right-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cid-metric-card {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    transition: all .3s;
}

.cid-metric-card:hover {
    border-color: var(--cid-blue);
}

.cid-metric-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--cid-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cid-metric-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cid-metric-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cid-metric-change.positive { color: var(--cid-green); }
.cid-metric-change.negative { color: var(--cid-red); }

.cid-metric-chart {
    height: 60px;
}

.cid-metric-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Movers Section */
.cid-movers-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .cid-movers-section {
        grid-template-columns: 1fr;
    }
}

.cid-mover-card {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    overflow: hidden;
}

.cid-mover-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--cid-border);
}

.cid-mover-icon {
    font-size: 18px;
}

.cid-mover-title {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cid-mover-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--cid-dim);
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.cid-mover-list {
    padding: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.cid-mover-list::-webkit-scrollbar {
    width: 6px;
}

.cid-mover-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.cid-mover-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all .2s;
}

.cid-mover-item:hover {
    background: rgba(255,255,255,0.03);
}

.cid-mover-rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cid-dim);
}

.cid-mover-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.cid-mover-info {
    flex: 1;
    min-width: 0;
}

.cid-mover-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cid-mover-symbol {
    font-size: 12px;
    color: var(--cid-dim);
}

.cid-mover-price {
    text-align: right;
}

.cid-mover-price-value {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cid-mover-change-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.cid-mover-change-badge.positive {
    background: rgba(16,185,129,0.1);
    color: var(--cid-green);
}

.cid-mover-change-badge.negative {
    background: rgba(239,68,68,0.1);
    color: var(--cid-red);
}

/* Section */
.cid-section {
    margin-bottom: 24px;
}

.cid-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

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

.cid-section-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cid-refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 8px;
    color: var(--cid-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.cid-refresh-btn:hover {
    border-color: var(--cid-blue);
}

.cid-refresh-btn.loading svg {
    animation: spin 1s linear infinite;
}

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

.cid-time-filters {
    display: flex;
    gap: 8px;
}

.cid-time-btn {
    padding: 8px 16px;
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 8px;
    color: var(--cid-dim);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.cid-time-btn:hover {
    border-color: var(--cid-blue);
    color: var(--cid-text);
}

.cid-time-btn.active {
    background: var(--cid-blue);
    border-color: var(--cid-blue);
    color: #fff;
}

/* Carousel */
.cid-carousel-container {
    position: relative;
}

.cid-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px;
}

.cid-carousel::-webkit-scrollbar {
    height: 6px;
}

.cid-carousel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.cid-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 50%;
    color: var(--cid-text);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all .2s;
}

.cid-carousel-btn:hover {
    background: var(--cid-blue);
    border-color: var(--cid-blue);
}

.cid-prev { left: -12px; }
.cid-next { right: -12px; }

.cid-exchange-card {
    min-width: 280px;
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all .2s;
}

.cid-exchange-card:hover {
    border-color: var(--cid-blue);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.cid-card-code {
    font-size: 14px;
    font-weight: 700;
    color: var(--cid-blue);
    margin-bottom: 4px;
}

.cid-card-name {
    font-size: 12px;
    color: var(--cid-dim);
    margin-bottom: 16px;
}

.cid-card-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cid-card-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cid-card-change.positive { color: var(--cid-green); }
.cid-card-change.negative { color: var(--cid-red); }

.cid-card-chart {
    height: 80px;
}

.cid-card-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Table */
.cid-table-container {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    overflow: hidden;
}

.cid-table {
    width: 100%;
    border-collapse: collapse;
}

.cid-table thead {
    background: rgba(0,0,0,0.2);
}

.cid-table th {
    padding: 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--cid-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--cid-border);
}

.cid-table tbody tr {
    border-bottom: 1px solid var(--cid-border);
    cursor: pointer;
    transition: all .2s;
}

.cid-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.cid-table tbody tr:last-child {
    border-bottom: none;
}

.cid-table td {
    padding: 16px;
}

.cid-table-code {
    font-size: 14px;
    font-weight: 700;
    color: var(--cid-blue);
    margin-bottom: 4px;
}

.cid-table-name {
    font-size: 12px;
    color: var(--cid-dim);
}

.cid-table-chart {
    width: 120px;
    height: 40px;
}

.cid-table-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.cid-table-value {
    font-size: 16px;
    font-weight: 700;
}

.cid-table-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}

.cid-table-change.positive { color: var(--cid-green); }
.cid-table-change.negative { color: var(--cid-red); }

.cid-table-assets {
    font-size: 13px;
    color: var(--cid-dim);
}

.cid-table-count {
    font-size: 14px;
    font-weight: 600;
}

/* Loading */
.cid-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--cid-dim);
    font-size: 14px;
}

/* Modal */
.cid-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.cid-modal.active {
    display: block;
}

.cid-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
}

.cid-modal-content {
    position: relative;
    max-width: 1200px;
    max-height: 90vh;
    margin: 5vh auto;
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 16px;
    overflow-y: auto;
}

.cid-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--cid-text);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.cid-modal-close:hover {
    background: var(--cid-red);
}

.cid-modal-body {
    padding: 40px;
}
/* ==================== DETAIL PAGE STYLES ==================== */

.cid-detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    background: var(--cid-bg);
    color: var(--cid-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cid-detail-back {
    margin-bottom: 24px;
}

.cid-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 8px;
    color: var(--cid-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
}

.cid-back-btn:hover {
    border-color: var(--cid-blue);
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(-4px);
    color: var(--cid-text);
    text-decoration: none;
}

.cid-detail-header-section {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.cid-detail-title-area {
    margin-bottom: 24px;
}

.cid-detail-symbol {
    font-size: 32px;
    font-weight: 700;
    color: var(--cid-blue);
    margin-bottom: 8px;
}

.cid-detail-description {
    font-size: 18px;
    color: var(--cid-dim);
}

.cid-detail-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .cid-detail-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cid-detail-stat-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.cid-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--cid-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cid-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--cid-text);
}

.cid-stat-value.positive {
    color: var(--cid-green);
}

.cid-stat-value.negative {
    color: var(--cid-red);
}

.cid-section-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--cid-text);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cid-detail-chart-section {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.cid-detail-chart-container {
    height: 400px;
    position: relative;
}

.cid-detail-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.cid-detail-top-assets {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.cid-top-assets-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .cid-top-assets-list {
        grid-template-columns: 1fr;
    }
}

.cid-top-asset-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all .2s;
}

.cid-top-asset-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cid-top-asset-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.cid-top-asset-info {
    flex: 1;
}

.cid-top-asset-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--cid-text);
    margin-bottom: 4px;
}

.cid-top-asset-symbol {
    font-size: 13px;
    color: var(--cid-dim);
}

.cid-top-asset-stats {
    text-align: right;
}

.cid-top-asset-weight {
    font-size: 18px;
    font-weight: 700;
    color: var(--cid-blue);
    margin-bottom: 4px;
}

.cid-top-asset-price {
    font-size: 14px;
    color: var(--cid-dim);
}

.cid-detail-composition {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 24px;
}

.cid-composition-table-wrapper {
    overflow-x: auto;
}

.cid-composition-table {
    width: 100%;
    border-collapse: collapse;
}

.cid-composition-table thead {
    background: rgba(0, 0, 0, 0.2);
}

.cid-composition-table th {
    padding: 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--cid-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--cid-border);
}

.cid-composition-table tbody tr {
    border-bottom: 1px solid var(--cid-border);
    transition: all .2s;
}

.cid-composition-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.cid-composition-table tbody tr:last-child {
    border-bottom: none;
}

.cid-composition-table td {
    padding: 16px;
    font-size: 14px;
}

.cid-comp-asset {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cid-comp-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.cid-comp-name {
    font-weight: 600;
    color: var(--cid-text);
    margin-bottom: 4px;
}

.cid-comp-symbol {
    font-size: 12px;
    color: var(--cid-dim);
}
/* ==================== UPDATED DASHBOARD LAYOUT ==================== */

/* Top Section: Featured wider (2fr), Metrics narrower (1fr) */
.cid-top-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .cid-top-section {
        grid-template-columns: 1fr;
    }
}

/* Featured Card - Expanded with more info */
.cid-featured-card {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all .3s;
}

.cid-featured-card:hover {
    border-color: var(--cid-blue);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.cid-featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.cid-featured-title {
    flex: 1;
}

.cid-featured-code {
    font-size: 18px;
    font-weight: 700;
    color: var(--cid-blue);
    margin-bottom: 4px;
}

.cid-featured-name {
    font-size: 13px;
    color: var(--cid-dim);
}

.cid-featured-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .cid-featured-main {
        grid-template-columns: 1fr;
    }
}

.cid-featured-left {
    display: flex;
    flex-direction: column;
}

.cid-featured-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cid-featured-change {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cid-featured-change.positive { color: var(--cid-green); }
.cid-featured-change.negative { color: var(--cid-red); }

.cid-featured-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cid-featured-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cid-featured-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--cid-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cid-featured-stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--cid-text);
}

.cid-featured-right {
    display: flex;
    flex-direction: column;
}

.cid-featured-chart {
    height: 180px;
    margin-bottom: 16px;
    position: relative;
}

.cid-featured-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.cid-featured-btn {
    width: 100%;
    padding: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--cid-blue);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.cid-featured-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--cid-blue);
}

/* Right Cards - Narrower */
.cid-right-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cid-metric-card {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    transition: all .3s;
}

.cid-metric-card:hover {
    border-color: var(--cid-blue);
}

.cid-metric-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--cid-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cid-metric-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cid-metric-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cid-metric-change.positive { color: var(--cid-green); }
.cid-metric-change.negative { color: var(--cid-red); }

.cid-metric-chart {
    height: 80px;
    position: relative;
}

.cid-metric-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ==================== DETAIL PAGE UPDATES ==================== */

/* Chart Section with Info Grid */
.cid-detail-chart-section {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.cid-detail-chart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .cid-detail-chart-grid {
        grid-template-columns: 1fr;
    }
}

.cid-detail-chart-container {
    height: 400px;
    position: relative;
}

.cid-detail-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.cid-detail-chart-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.cid-chart-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    transition: all .2s;
}

.cid-chart-info-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cid-chart-info-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--cid-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cid-chart-info-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--cid-text);
}

.cid-chart-info-value.positive {
    color: var(--cid-green);
}

.cid-chart-info-value.negative {
    color: var(--cid-red);
}

/* Detail Page Movers Section */
.cid-detail-movers-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .cid-detail-movers-section {
        grid-template-columns: 1fr;
    }
}

.cid-detail-mover-card {
    background: var(--cid-card);
    border: 1px solid var(--cid-border);
    border-radius: 12px;
    padding: 24px;
}

.cid-detail-mover-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cid-detail-mover-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all .2s;
}

.cid-detail-mover-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cid-detail-mover-rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cid-dim);
}

.cid-detail-mover-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.cid-detail-mover-info {
    flex: 1;
    min-width: 0;
}

.cid-detail-mover-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--cid-text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cid-detail-mover-symbol {
    font-size: 12px;
    color: var(--cid-dim);
}

.cid-detail-mover-stats {
    text-align: right;
}

.cid-detail-mover-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--cid-text);
    margin-bottom: 4px;
}

.cid-detail-mover-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.cid-detail-mover-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--cid-green);
}

.cid-detail-mover-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--cid-red);
}
/* Detail Page Header Stats */
.cid-detail-stat-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.cid-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--cid-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cid-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--cid-text);
    display: flex;
    align-items: center;
}

.cid-stat-value.positive {
    color: var(--cid-green) !important;
}

.cid-stat-value.negative {
    color: var(--cid-red) !important;
}
