#daily-market-insights-container {
    min-height: 500px;
}

#summarySection,
#widgetsSection,
#tableSection {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.daily-market-insights-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.daily-market-insights-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.daily-market-insights-filter-btn,
.insights-mode-btn {
    padding: 8px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.daily-market-insights-filter-btn:hover,
.insights-mode-btn:hover {
    background-color: var(--bg-hover);
    border-color: var(--theme-color);
    color: var(--text-primary);
    text-decoration: none;
}

.daily-market-insights-filter-btn.active {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: #000;
}

.insights-mode-dropdown {
    position: relative;
    display: inline-block;
}

.insights-mode-btn {
    align-items: flex-start;
    min-width: 130px;
    position: relative;
    text-align: left;
}

.insights-mode-btn-text {
    font-weight: 600;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.insights-mode-btn-mode {
    font-size: 11px !important;
    opacity: 0.8;
    text-align: left;
    width: 100%;
}

.insights-mode-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
}

.insights-mode-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 10px 15px;
    border: none;
    font-size: 14px;
    font-weight: 500;
}

.insights-mode-select option:hover {
    background: var(--bg-hover);
}

.insights-mode-select option:checked {
    background: var(--theme-color);
    color: #000;
}

.dropdown-icon {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.daily-market-insights-filter-btn-text {
    font-weight: 600;
    margin-bottom: 2px;
}

.daily-market-insights-filter-btn-date {
    font-size: 11px !important;
    opacity: 0.8;
}

.calendar-filter {
    cursor: pointer;
    position: relative;
}

.calendar-filter .bi-calendar3 {
    margin-right: 4px;
}

.hidden-date-input {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.daily-market-insights-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.daily-market-insights-actions .btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    min-width: 80px;
    justify-content: center;
}

.daily-market-insights-actions .btn:hover {
    background: var(--bg-hover);
    border-color: var(--theme-color);
    transform: translateY(-1px);
    color: var(--text-primary);
    text-decoration: none;
}

.daily-market-insights-actions .btn:active {
    transform: translateY(0);
}

.daily-market-insights-actions .btn:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 2px var(--theme-color-focus);
}

.btn-theme-primary {
    background: var(--theme-color);
    color: #000;
    border: 1px solid var(--theme-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 248, 39, 0.3);
}

.btn-theme-primary:hover {
    background: var(--theme-color);
    color: #000;
    border-color: var(--theme-color);
    transform: translateY(-2px);
    filter: brightness(0.9);
    box-shadow: 0 4px 15px rgba(255, 248, 39, 0.4);
    text-decoration: none;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 35px 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 2px var(--theme-color-focus);
}

.search-input::placeholder {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.search-icon {
    position: absolute;
    right: 10px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input:focus + .search-icon {
    color: var(--theme-color);
}

.daily-market-insights-table {
    width: 100%;
    background-color: var(--bg-primary);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
    border: 1px solid var(--border-color);
    font-family: Arial, sans-serif;
}

.daily-market-insights-table th {
    background-color: var(--theme-color);
    color: #000;
    font-weight: 600;
    text-align: center;
    padding: 10px 4px;
    font-size: var(--font-daily-market-insights-table);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.daily-market-insights-table th:nth-child(2),
.daily-market-insights-table td:nth-child(2) {
    position: sticky;
    left: 0;
    background-color: var(--bg-primary);
    z-index: 5;
    border-right: 2px solid var(--border-color);
}

.daily-market-insights-table th:nth-child(2) {
    background-color: var(--theme-color);
    z-index: 15;
}

.daily-market-insights-table td {
    text-align: center;
    padding: 8px 4px;
    vertical-align: middle;
    font-size: var(--font-daily-market-insights-table-td);
    font-family: inherit;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.daily-market-insights-table .coin-info-text h6 {
    margin: 0;
    font-size: var(--font-daily-market-insights-table-td);
    font-weight: 600;
    color: var(--text-primary);
    font-family: inherit;
}

.daily-market-insights-table .coin-info-text p {
    margin: 0;
    font-size: var(--font-daily-market-insights-table-td-mobile);
    color: var(--text-muted);
    font-family: inherit;
}

.daily-market-insights-table tbody tr:hover {
    background-color: var(--bg-hover);
}

.daily-market-insights-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .daily-market-insights-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.daily-market-insights-table th.sortable-header {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.daily-market-insights-table .sort-indicator {
    display: inline-flex;
    flex-direction: column;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    float: right;
    margin-left: 8px;
}

.daily-market-insights-table .sortable-header:hover .sort-indicator {
    opacity: 0.9;
}

.daily-market-insights-table .sortable-header.sort-active .sort-indicator {
    opacity: 1;
}

.daily-market-insights-table .sort-indicator i {
    font-size: 12px;
    line-height: 1;
    color: #000 !important;
    font-weight: bold;
    transition: opacity 0.2s ease;
}

.daily-market-insights-table
    .sortable-header.sort-asc
    .sort-indicator
    .sort-asc {
    color: #009ef7;
    font-weight: 900;
    opacity: 1;
}

.daily-market-insights-table
    .sortable-header.sort-asc
    .sort-indicator
    .sort-desc {
    opacity: 0.1;
}

.daily-market-insights-table
    .sortable-header.sort-desc
    .sort-indicator
    .sort-desc {
    color: #009ef7;
    font-weight: 900;
    opacity: 1;
}

.daily-market-insights-table
    .sortable-header.sort-desc
    .sort-indicator
    .sort-asc {
    opacity: 0.1;
}

#volumeSortIndicator {
    font-weight: 700;
    color: #009ef7;
    margin-left: 4px;
    font-size: 11px;
}

.daily-market-insights-table .price-cell {
    font-weight: 600;
    font-family: inherit;
}

.daily-market-insights-table .price-cell.price-cell-change {
    font-weight: 700;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.coin-info-text h6 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.coin-info-text h6 a:hover {
    color: var(--theme-color) !important;
    text-decoration: none;
}

.daily-market-insights-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.daily-market-insights-summary-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.daily-market-insights-summary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-color);
}

.daily-market-insights-summary-item h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.daily-market-insights-summary-item .summary-value {
    font-size: 22px;
    font-weight: 700;
    margin: 6px 0;
    line-height: 1.2;
}

.daily-market-insights-summary-item .summary-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.summary-bullish {
    color: #28a745;
}

.summary-bearish {
    color: #dc3545;
}

.summary-neutral {
    color: var(--text-muted);
}

.summary-total {
    color: var(--theme-color);
}

.market-sentiment-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
}

.sentiment-icon {
    font-size: 18px;
}

.sentiment-bullish {
    background: linear-gradient(
        135deg,
        rgba(40, 167, 69, 0.1) 0%,
        rgba(40, 167, 69, 0.05) 100%
    );
    border-color: rgba(40, 167, 69, 0.3);
}

.sentiment-bearish {
    background: linear-gradient(
        135deg,
        rgba(220, 53, 69, 0.1) 0%,
        rgba(220, 53, 69, 0.05) 100%
    );
    border-color: rgba(220, 53, 69, 0.3);
}

.sentiment-neutral {
    background: linear-gradient(
        135deg,
        rgba(108, 117, 125, 0.1) 0%,
        rgba(108, 117, 125, 0.05) 100%
    );
    border-color: rgba(108, 117, 125, 0.3);
}

.sentiment-total {
    background: linear-gradient(
        135deg,
        rgba(255, 248, 39, 0.1) 0%,
        rgba(255, 248, 39, 0.05) 100%
    );
    border-color: rgba(255, 248, 39, 0.3);
}

.top-performers-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.top-performers-widget {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.top-performers-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-color);
}

.widget-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.widget-header-left {
    display: flex;
    align-items: flex-start;
}

.widget-header .widget-icon {
    float: left;
    margin-right: 10px;
    font-size: 16px;
    color: var(--theme-color);
}

.widget-title-section {
    text-align: left;
}

.widget-header h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-header p {
    font-size: 10px;
    color: #6c757d;
    margin: 0;
    text-align: left;
}

.widget-header .ss-download {
    float: right;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(var(--theme-color-rgb), 0.45);
    background: rgba(var(--theme-color-rgb), 0.14);
    color: var(--theme-color);
    border-radius: 5px;
    font-size: 15px;
    line-height: 1;
}

.widget-header .ss-download i {
    font-size: 15px;
}

.widget-header .ss-download:hover {
    background: var(--theme-color);
    color: #000;
    border-color: var(--theme-color);
}

.widget-header .widget-share-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid rgba(var(--theme-color-rgb), 0.55);
    background: rgba(var(--theme-color-rgb), 0.18);
    color: var(--theme-color);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.25px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.widget-header .widget-share-btn i {
    font-size: 11px;
}

.widget-header .widget-share-btn:hover {
    background: var(--theme-color);
    color: #000;
    border-color: var(--theme-color);
}

.widget-summary-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-summary-stat {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    overflow: hidden;
    text-align: left;
}

.widget-summary-stat-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
}

.widget-summary-stat-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.widget-summary-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.widget-summary-stat-value {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.widget-summary-stat-value.market-sentiment-indicator {
    font-size: 15px;
}

.widget-summary-stat-value .sentiment-icon {
    font-size: 15px;
    margin-right: 2px;
}

.widget-summary-stat-sub {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
    font-weight: 500;
}

.widget-summary-stat--bullish {
    background: linear-gradient(
        135deg,
        rgba(40, 167, 69, 0.14) 0%,
        rgba(40, 167, 69, 0.05) 100%
    );
    border-color: rgba(40, 167, 69, 0.28);
}

.widget-summary-stat--bearish {
    background: linear-gradient(
        135deg,
        rgba(220, 53, 69, 0.14) 0%,
        rgba(220, 53, 69, 0.05) 100%
    );
    border-color: rgba(220, 53, 69, 0.28);
}

.widget-summary-stat--neutral {
    background: linear-gradient(
        135deg,
        rgba(108, 117, 125, 0.12) 0%,
        rgba(108, 117, 125, 0.04) 100%
    );
    border-color: rgba(108, 117, 125, 0.28);
}

.widget-summary-stat--bullish .widget-summary-stat-label {
    color: rgba(40, 167, 69, 0.95);
}

.widget-summary-stat--bearish .widget-summary-stat-label {
    color: rgba(220, 53, 69, 0.95);
}

.widget-summary .widget-header .widget-icon {
    color: var(--theme-color);
    font-size: 18px;
}

.widget-coin-header-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.widget-coin-stats .widget-header-left {
    align-items: center;
}

.daily-market-insights-table .table-share-header {
    min-width: 52px;
    width: 52px;
    text-align: center;
    cursor: default;
}

.daily-market-insights-table .table-share-cell {
    text-align: center;
    padding: 4px;
    vertical-align: middle;
}

.daily-market-insights-table .table-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(var(--theme-color-rgb), 0.55);
    background: rgba(var(--theme-color-rgb), 0.18);
    color: var(--theme-color);
    border-radius: 5px;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.daily-market-insights-table .table-share-btn:hover {
    background: var(--theme-color);
    color: #000;
    border-color: var(--theme-color);
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(var(--border-color-rgb), 0.3);
    transition: background-color 0.2s ease;
}

.widget-list-item:last-child {
    border-bottom: none;
}

.widget-list-item:hover {
    background-color: var(--bg-hover);
    border-radius: 5px;
    padding-left: 8px;
    padding-right: 8px;
}

.widget-rank {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 20px;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-coin-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.widget-coin-info img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.widget-coin-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.widget-coin-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    text-align: left;
    transition: color 0.2s ease;
}

.widget-coin-name:hover {
    color: var(--theme-color) !important;
    text-decoration: none !important;
}

.widget-coin-pair {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.2;
    text-align: left;
}

.widget-stat-value {
    font-size: 11px;
    font-weight: 600;
    text-align: right;
    min-width: 70px;
}

.widget-stat-positive {
    color: #28a745;
}

.widget-stat-negative {
    color: #dc3545;
}

.widget-stat-neutral {
    color: var(--text-primary);
}

.widget-gainers .widget-header .widget-icon {
    color: #28a745;
    font-size: 18px;
}

.widget-losers .widget-header .widget-icon {
    color: #dc3545;
    font-size: 18px;
}

.widget-trades .widget-header .widget-icon {
    color: #007bff;
    font-size: 18px;
}

.widget-volume .widget-header .widget-icon {
    color: #6f42c1;
    font-size: 18px;
}

/* Daily Market Insights page — slightly smaller intro text */
body.page-market-insights .landing-hero .hero-description {
    font-size: clamp(0.68rem, 1.2vw, 0.82rem) !important;
}

#no-daily-market-insights-message {
    text-align: center;
    padding: 50px;
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 5px;
    color: var(--text-muted);
    margin-top: 20px;
}

#no-daily-market-insights-message h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .signals-fullscreen{
        padding: 10px !important;
    }

    .date-filter-btn {
        display: none !important;
    }

    .daily-market-insights-control-bar {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px !important;
    }

    .daily-market-insights-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .insights-mode-dropdown,
    .calendar-filter {
        width: 100%;
    }

    .insights-mode-btn,
    .calendar-filter {
        min-width: unset;
        width: 100%;
    }

    .daily-market-insights-actions {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 5px;
        width: 100%;
        align-items: center;
    }

    .search-container {
        width: 100%;
    }

    .search-input {
        width: 100%;
        padding: 10px 35px 10px 12px;
    }

    .daily-market-insights-actions .btn {
        min-width: unset;
        width: 45px;
        height: 45px;
        padding: 8px;
        justify-content: center;
        position: relative;
        font-size: 0;
    }

    .daily-market-insights-actions .btn i {
        font-size: 16px;
        margin: 0;
    }

    .daily-market-insights-table {
        font-size: var(--font-daily-market-insights-table-mobile);
        overflow-x: auto;
        display: block;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        border-radius: 5px;
        width: 100%;
    }

    .daily-market-insights-table thead {
        display: table-header-group;
        width: 100%;
    }

    .daily-market-insights-table tbody {
        display: table-row-group;
        width: 100%;
    }

    .daily-market-insights-table tr {
        display: table-row;
        width: 100%;
    }

    .daily-market-insights-table th {
        font-size: var(--font-daily-market-insights-table-mobile-sm);
        font-weight: 800;
        padding: 6px 2px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        text-align: center;
    }

    .daily-market-insights-table th,
    .daily-market-insights-table td {
        display: table-cell;
        padding: 8px 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-right: 1px solid var(--border-color);
        vertical-align: middle;
    }

    .daily-market-insights-table th {
        font-size: var(--font-daily-market-insights-table-mobile-sm);
    }

    .daily-market-insights-table td {
        font-size: var(--font-daily-market-insights-table-td-mobile);
    }

    .daily-market-insights-table th:nth-child(2),
    .daily-market-insights-table td:nth-child(2) {
        position: sticky;
        left: 0;
        background-color: var(--bg-primary);
        z-index: 5;
        border-right: 2px solid var(--border-color);
        min-width: 120px;
        max-width: 170px;
    }

    .daily-market-insights-table th:nth-child(2) {
        background-color: var(--theme-color);
        z-index: 15;
    }

    .daily-market-insights-table th:nth-child(1),
    .daily-market-insights-table td:nth-child(1) {
        min-width: 80px;
    }

    .coin-info-cell {
        gap: 6px;
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .coin-info-cell img {
        width: 25px;
        height: 25px;
        flex-shrink: 0;
        border-radius: 50%;
    }

    .coin-info-text {
        min-width: 0;
        flex: 1;
    }

    .daily-market-insights-table .coin-info-text h6 {
        font-size: var(--font-daily-market-insights-table-td-mobile);
        margin-bottom: 5px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .daily-market-insights-table .coin-info-text p {
        font-size: var(--font-daily-market-insights-table-td-mobile-sm);
        margin: 0;
        line-height: 1.2;
        color: var(--text-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .daily-market-insights-table .price-cell {
        font-size: var(--font-daily-market-insights-table-td-mobile);
        font-weight: 600;
        text-align: center;
        font-family: inherit;
    }

    .daily-market-insights-table td:nth-child(9) {
        text-align: left;
        padding: 4px 2px;
    }

    .daily-market-insights-table td:nth-child(9) div {
        font-size: 8px;
        line-height: 1.1;
        margin: 1px 0;
    }

    .sort-indicator {
        margin-left: 2px;
    }

    .sort-indicator i {
        font-size: 8px;
    }

    .daily-market-insights-table tbody tr:hover {
        background-color: var(--bg-hover);
    }

    .daily-market-insights-table::after {
        content: "← Scroll horizontally to see more data →";
        display: block;
        text-align: center;
        padding: 8px;
        font-size: 10px;
        color: var(--text-muted);
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 480px) {
    .search-icon {
        top: 12px;
        right: 14px;
    }

    .daily-market-insights-table th {
        font-size: 12px !important;
        font-weight: 800 !important;
        padding: 10px !important;
        min-width: 100px;
    }

    .daily-market-insights-table td {
        font-size: var(--font-daily-market-insights-table-td-mobile) !important;
        padding: 10px !important;
        min-width: 100px;
    }

    .daily-market-insights-table th:nth-child(1),
    .daily-market-insights-table td:nth-child(1) {
        min-width: 80px;
    }

    .daily-market-insights-table th:nth-child(2),
    .daily-market-insights-table td:nth-child(2) {
        min-width: 100px;
        max-width: 170px;
    }
}
