/* --- Modern Title Bar --- */
.modern-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 30%, #fcb1e3 60%, #ff85a1 85%, #ff6a88 100%);
    border-radius: 1.5em;
    box-shadow: 0 8px 32px 0 rgba(255, 106, 136, 0.18), 0 3px 12px 0 rgba(255, 153, 172, 0.13);
    padding: 1.5em 2em 1.5em 2em;
    margin-bottom: 2em;
    color: #fff;
    transition: background 0.3s, box-shadow 0.3s;
}
.modern-title-icon {
    display: flex;
    align-items: center;
    margin-right: 1em;
}
.modern-title-text {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}
.modern-title-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2em;
}

/* Mobile Responsive Styles for Title Bar */
@media (max-width: 768px) {
    .modern-title-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1.2em 1em;
        gap: 1em;
        text-align: center;
    }
    
    .modern-title-bar-row {
        flex-direction: column;
        align-items: center;
        gap: 1em;
        width: 100%;
    }
    
    .modern-title-main {
        flex-direction: column;
        align-items: center;
        gap: 0.8em;
        text-align: center;
    }
    
    .modern-title-icon {
        margin-right: 0;
        margin-bottom: 0.5em;
    }
    
    .modern-title-text {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .modern-title-actions {
        flex-direction: column;
        gap: 0.8em;
        width: 100%;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .modern-title-bar {
        padding: 1em 0.8em;
        gap: 0.8em;
    }
    
    .modern-title-bar-row {
        gap: 0.8em;
    }
    
    .modern-title-main {
        gap: 0.6em;
    }
    
    .modern-title-text {
        font-size: 1.4rem;
    }
    
    .modern-title-actions {
        gap: 0.6em;
    }
    
    .modern-title-actions .modern-tab {
        padding: 0.8em 1.2em;
        font-size: 0.9rem;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .modern-title-bar {
        padding: 0.8em 0.6em;
        gap: 0.6em;
        border-radius: 1.2em;
    }
    
    .modern-title-bar-row {
        gap: 0.6em;
    }
    
    .modern-title-main {
        gap: 0.5em;
    }
    
    .modern-title-text {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .modern-title-actions {
        gap: 0.5em;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modern-title-actions .modern-tab {
        padding: 0.7em 1em;
        font-size: 0.85rem;
        min-width: 100px;
        flex: 1;
        min-width: 0;
        max-width: 140px;
    }
    
    .modern-title-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 360px) {
    .modern-title-bar {
        padding: 0.6em 0.5em;
        gap: 0.5em;
        border-radius: 1em;
    }
    
    .modern-title-bar-row {
        gap: 0.5em;
    }
    
    .modern-title-main {
        gap: 0.4em;
    }
    
    .modern-title-text {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .modern-title-actions {
        gap: 0.4em;
    }
    
    .modern-title-actions .modern-tab {
        padding: 0.6em 0.8em;
        font-size: 0.8rem;
        min-width: 90px;
        max-width: 120px;
    }
    
    .modern-title-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Enhanced Mobile Touch Interactions */
@media (max-width: 768px) {
    .modern-tab {
        -webkit-tap-highlight-color: rgba(255, 106, 136, 0.1);
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    
    .modern-tab:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .modern-title-bar {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Ensure buttons are large enough for touch */
    .modern-tab {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve button spacing for touch */
    .modern-title-actions {
        gap: 0.8em;
        padding: 0.5em 0;
    }
    
    /* Better button layout on very small screens */
    .modern-title-actions .modern-tab {
        margin: 0.2em;
    }
}

/* Dark mode support for mobile */
@media (max-width: 768px) {
    body.dark-mode .modern-title-bar {
        background: linear-gradient(90deg, #1f2937 0%, #374151 30%, #4b5563 60%, #6b7280 85%, #9ca3af 100%);
        box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.18), 0 3px 12px 0 rgba(55, 65, 81, 0.13);
    }
    
    body.dark-mode .modern-title-text {
        color: #f9fafb;
    }
    
    body.dark-mode .modern-title-icon {
        filter: brightness(1.1) contrast(1.1);
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Improve text readability on small screens */
    .modern-title-text {
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    /* Better button grouping on mobile */
    .modern-title-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8em;
        width: 100%;
        max-width: 400px;
    }
    
    /* Ensure consistent button sizing */
    .modern-title-actions .modern-tab {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    /* Improve icon and text alignment */
    .modern-title-main {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for the title bar row */
    .modern-title-bar-row {
        justify-content: center;
        align-items: center;
    }
}

/* Extra small screen optimizations */
@media (max-width: 480px) {
    .modern-title-actions {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    
    .modern-title-actions .modern-tab {
        max-width: 100%;
    }
    
    /* Ensure buttons don't overflow */
    .modern-title-bar {
        overflow: hidden;
    }
    
    /* Better text sizing for very small screens */
    .modern-title-text {
        font-size: 1.1rem;
        line-height: 1.4;
        padding: 0 0.5em;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .modern-title-bar {
        flex-direction: row;
        padding: 1em 1.5em;
        gap: 1.5em;
    }
    
    .modern-title-bar-row {
        flex-direction: row;
        gap: 1.5em;
        align-items: center;
    }
    
    .modern-title-main {
        flex-direction: row;
        gap: 1em;
    }
    
    .modern-title-actions {
        flex-direction: row;
        gap: 1em;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .modern-title-actions .modern-tab {
        min-width: 100px;
        max-width: 120px;
    }
}

/* Mobile-specific button enhancements */
@media (max-width: 768px) {
    /* Dark mode switch mobile optimization */
    .modern-title-actions .darkmode-switch {
        min-height: 48px;
        min-width: 48px;
        padding: 0.8em 1.2em;
    }
    
    .modern-title-actions .darkmode-switch .darkmode-switch-label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    /* Refresh button mobile optimization */
    .modern-title-actions .refresh-btn {
        min-height: 48px;
        min-width: 48px;
        padding: 0.8em 1.2em;
    }
    
    .modern-title-actions .refresh-btn .refresh-btn-label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .modern-title-actions .refresh-btn .refresh-btn-icon {
        min-width: 24px;
        min-height: 24px;
    }
    
    /* Fullscreen button mobile optimization */
    .modern-title-actions .modern-fullscreen-btn {
        min-height: 48px;
        min-width: 48px;
        padding: 0.8em 1.2em;
    }
    
    .modern-title-actions .modern-fullscreen-btn .fullscreen-switch-label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .modern-title-actions .modern-fullscreen-btn .fullscreen-icon-bg {
        min-width: 20px;
        min-height: 20px;
    }
    
    /* Ensure all buttons have consistent touch targets */
    .modern-title-actions .modern-tab svg,
    .modern-title-actions .modern-tab .darkmode-switch-icon,
    .modern-title-actions .modern-tab .refresh-btn-icon,
    .modern-title-actions .modern-tab .fullscreen-icon-bg {
        pointer-events: none;
    }
    
    /* Better button states for mobile */
    .modern-title-actions .modern-tab:focus {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
    }
    
    .modern-title-actions .modern-tab:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* --- Enhanced Table Container and Table --- */
.enhanced-table-container {
    position: relative;
    border-radius: 1.5em;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.table-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 1.5em;
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff;
    border-radius: 1em 1em 0 0;
    font-size: 0.95em;
    font-weight: 600;
}
.status-info {
    display: flex;
    align-items: center;
    gap: 0.8em;
}
.status-icon {
    font-size: 1.2em;
}
.status-text {
    opacity: 0.9;
}
.status-actions {
    display: flex;
    gap: 0.8em;
}
.status-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.6em 1.2em;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.8em;
    color: #ff6a88;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    outline: none;
}
.status-action-btn:hover, .status-action-btn:focus {
    background: rgba(255, 255, 255, 0.3);
    color: #ff99ac;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 136, 0.2);
}
.status-action-btn:active {
    transform: translateY(0);
}
.table-wrapper {
    padding: 1.5em;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 40%, #ff6a88 70%, #a1c4fd 100%);
    border-radius: 0 0 1.5em 1.5em;
    overflow-x: auto;
    box-shadow: 0 8px 32px 0 rgba(255, 106, 136, 0.10), 0 3px 12px 0 rgba(161, 196, 253, 0.10);
    border: 1.5px solid rgba(255, 106, 136, 0.10);
    transition: background 0.4s, box-shadow 0.4s;
}
body.dark-mode .table-wrapper {
    background: linear-gradient(135deg, #232526 0%, #ff6a88 40%, #ff99ac 80%, #1e3c72 100%);
    box-shadow: 0 8px 32px 0 rgba(255, 106, 136, 0.18), 0 3px 12px 0 rgba(30, 60, 114, 0.13);
    border: 1.5px solid rgba(255, 153, 172, 0.13);
}
.enhanced-table {
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: max-content;
    font-style: italic;
}
.enhanced-thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
/* --- DataTable Header Styles: Match Markets --- */
.enhanced-th {
    background: #fff6fa;
    color: #ff6a88;
    font-weight: 700;
    border-bottom: 2.5px solid #ff99ac;
    vertical-align: middle;
    padding: 0.7em 0.5em;
    font-size: 1.08em;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}
.enhanced-th:hover {
    background: linear-gradient(135deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 106, 136, 0.3);
    transform: translateY(-2px);
}
.datatable-header-text {
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 0.01em;
    color: #ff6a88;
}
.datatable-header-icon {
    display: block;
    text-align: center;
    margin-top: 2px;
    width: 20px;
    height: 20px;
}
@media (max-width: 480px) {
    .enhanced-th {
        padding: 0.8em 0.6em;
        font-size: 0.8em;
    }
    .datatable-header-icon {
        width: 20px;
        height: 20px;
    }
    .datatable-header-text {
        font-size: 0.8em;
    }
}

/* --- Info Block --- */
.info-title {
    margin-bottom: 0.5em;
    font-size: 1.18em;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
}
.datatable-columns-list {
    margin-bottom: 0;
    font-size: 1.08em;
    line-height: 1.7;
    padding-left: 1.2em;
    list-style: none;
}
.datatable-columns-list li b {
    color: #fff;
}

/* --- Custom Datatable Search Bar Styles --- */
.dataTables_filter {
    width: 100%;
    max-width: 400px;
    margin-bottom: 18px;
    float: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: none;
    padding: 0;
}
.dataTables_filter .search-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    max-width: 100%;
}
.dataTables_filter .search-icon {
    position: absolute;
    left: 16px;
    width: 22px;
    height: 22px;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}
.dataTables_filter input[type="search"] {
    border-radius: 24px;
    border: 1.5px solid #ff6a88;
    padding: 8px 44px 8px 44px;
    background: #fff6fa;
    transition: border 0.2s, box-shadow 0.2s;
    font-size: 15px;
    outline: none;
    color: #ff6a88;
    width: 100%;
    box-shadow: 0 2px 8px rgba(255,106,136,0.08);
}
.dataTables_filter input[type="search"]:focus {
    border: 1.5px solid #ff99ac;
    background: #fff;
    box-shadow: 0 2px 8px rgba(255,153,172,0.08);
}
.dataTables_filter #clear-search {
    margin-left: 8px;
    border: none;
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff;
    border-radius: 16px;
    padding: 8px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(255,106,136,0.12);
}
.dataTables_filter #clear-search:hover {
    background: linear-gradient(90deg, #fff 0%, #ff6a88 100%);
    color: #ff6a88;
}
/* Highlight search results */
.highlight {
    background: #ffecf2;
    color: #ff6a88;
    font-weight: bold;
    border-radius: 0.3em;
    padding: 0 0.2em;
}
.highlight-row {
    background: #fff6fa !important;
}

/* --- Responsive and Dark Mode omitted for brevity, but should be included for full parity --- */

/* --- Custom DataTables Pagination Buttons (Matching Markets) --- */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff !important;
    border-radius: 1em;
    border: none;
    margin: 0 0.2em;
    padding: 0.4em 1em;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #fff !important;
    color: #ff6a88 !important;
}
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_paginate {
        text-align: center !important;
        margin-top: 16px !important;
    }
}
body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button {
    background: linear-gradient(90deg, #23272f 0%, #ff6a88 100%) !important;
    color: #ff99ac !important;
}
body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #ff99ac !important;
    color: #23272f !important;
}

/* --- DataTable Info (Markets Parity) --- */
.datatable-info-beautiful {
    display: inline-flex;
    align-items: center;
    gap: 0.75em;
    font-size: 1.08em;
    font-weight: 500;
    border-radius: 1.2em;
    padding: 0.5em 1.3em;
    box-shadow: 0 4px 16px 0 rgba(255, 106, 136, 0.10), 0 1.5px 6px 0 rgba(255, 0, 128, 0.08);
    background: #fff;
    color: #ff2d55;
    margin: 0.5em 0;
    border: none;
}
.pinky-gradient {
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff !important;
    box-shadow: 0 4px 16px 0 rgba(255, 106, 136, 0.18), 0 1.5px 6px 0 rgba(255, 0, 128, 0.13);
}
.datatable-info-icon {
    font-size: 1.3em;
    margin-right: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    width: 2.2em;
    height: 2.2em;
    box-shadow: 0 2px 8px 0 rgba(255, 106, 136, 0.10);
}
.datatable-info-text {
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.datatable-info-beautiful strong {
    color: #ff2d55;
    font-weight: 700;
    font-size: 1.1em;
}
@media (max-width: 600px) {
    .datatable-info-beautiful {
        font-size: 1em;
        padding: 10px 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .datatable-info-icon {
        font-size: 1.2em;
        width: 1.8em;
        height: 1.8em;
        margin-right: 0;
        margin-bottom: 4px;
    }
}
body.dark-mode .datatable-info-beautiful {
    background: linear-gradient(90deg, #23272f 0%, #23272f 100%) !important;
    color: #ff99ac !important;
    box-shadow: 0 2px 12px rgba(255,153,172,0.08);
}
body.dark-mode .datatable-info-icon {
    color: #ff99ac;
    background: linear-gradient(135deg, #23272f 0%, #ff99ac 100%);
    box-shadow: 0 2px 8px rgba(255,153,172,0.10);
}
body.dark-mode .datatable-info-text {
    color: #ff99ac;
}
body.dark-mode .datatable-info-beautiful strong {
    color: #ffd200;
}

/* --- Custom DataTable Length Dropdown Styles (Parity with Markets) --- */
.dataTables_wrapper .dataTables_length {
    margin-bottom: 18px;
    float: left;
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    padding: 8px 18px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(255,106,136,0.08);
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dataTables_wrapper .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    color: #fff;
}
.dataTables_wrapper .dataTables_length select {
    border-radius: 16px;
    border: 1.5px solid #ff6a88;
    padding: 6px 32px 6px 16px;
    background: #fff6fa;
    color: #ff6a88;
    font-size: 15px;
    margin-left: 8px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-weight: 600;
}
.dataTables_wrapper .dataTables_length select:focus {
    border: 1.5px solid #ff99ac;
    box-shadow: 0 2px 8px rgba(255,153,172,0.08);
}
body.dark-mode .dataTables_wrapper .dataTables_length {
    background: linear-gradient(90deg, #23272f 0%, #ff6a88 100%) !important;
    color: #ff99ac !important;
}
body.dark-mode .dataTables_wrapper .dataTables_length label {
    color: #ff99ac !important;
}
body.dark-mode .dataTables_wrapper .dataTables_length select {
    background: #23272f;
    color: #ff99ac;
    border: 1.5px solid #ff99ac;
}
body.dark-mode .dataTables_wrapper .dataTables_length select:focus {
    border: 1.5px solid #ffd200;
    box-shadow: 0 2px 8px rgba(255,153,172,0.13);
}

/* Responsive DataTable for mobile (adapted from markets.css) */
@media (max-width: 767px) {
    .enhanced-thead {
        display: none !important;
    }
    #coingecko_exchanges tbody, #coingecko_exchanges tr, #coingecko_exchanges td {
        display: block;
        width: 100%;
    }
    #coingecko_exchanges tr {
        margin-bottom: 1rem;
        border: 1.5px solid #ff99ac;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(255,106,136,0.10), 0 1.5px 6px rgba(255,153,172,0.08);
        background: linear-gradient(90deg, #fff6fa 0%, #ffdde1 100%);
        padding: 0.7rem 1rem;
    }
    #coingecko_exchanges td {
        text-align: left;
        padding-left: 48%;
        position: relative;
        border: none;
        border-bottom: 1px solid #ffdde1;
        min-height: 44px;
        box-sizing: border-box;
        font-size: 1em;
        color: #d72660;
        background: none;
        word-break: break-word;
    }
    #coingecko_exchanges td:last-child {
        border-bottom: none;
    }
    #coingecko_exchanges td:before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        //top: 0;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        color: #ff6a88;
        font-size: 0.98em;
        letter-spacing: 0.01em;
    }
    #coingecko_exchanges {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed;
    }
    .table-wrapper {
        padding: 0.5em;
    }
}

@media (max-width: 767px) {
    body.dark-mode #coingecko_exchanges tr {
        background: #23272f !important;
        border-color: #ff99ac;
        box-shadow: 0 2px 12px rgba(255,106,136,0.10), 0 1.5px 6px rgba(255,153,172,0.08);
    }
    body.dark-mode #coingecko_exchanges td {
        color: #ff99ac;
        background: none;
        border-bottom: 1px solid #23272f;
    }
    body.dark-mode #coingecko_exchanges td:before {
        color: #ff6a88;
    }
}
/* --- Fullscreen Styles --- */
#datatableFullscreenContainer.fullscreen-active {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}
#datatableFullscreenContainer.fullscreen-active .table-wrapper {
    flex: 1 1 auto;
    height: 100%;
    padding: 2vw 2vw 2vw 2vw;
    background: #fff;
    border-radius: 0;
}
body.dark-mode #datatableFullscreenContainer.fullscreen-active,
body.dark-mode #datatableFullscreenContainer.fullscreen-active .table-wrapper {
    background: #181a20 !important;
}

/* --- Dark Mode Enhancements --- */
body.dark-mode {
    background: #181a20 !important;
    color: #eaeaea !important;
}
body.dark-mode .modern-title-bar,
body.dark-mode .table-status-bar {
    background: linear-gradient(90deg, #232526 0%, #414345 100%) !important;
    color: #fff !important;
}
body.dark-mode .enhanced-table-container {
    background: #23272f !important;
    box-shadow: 0 8px 32px rgba(255, 153, 172, 0.08);
}
body.dark-mode .table-wrapper {
    background: #23272f !important;
}
body.dark-mode .enhanced-table {
    background: #23272f !important;
    color: #ff99ac !important;
}
body.dark-mode .enhanced-thead {
    background: linear-gradient(135deg, #23272f 0%, #23272f 100%) !important;
}
body.dark-mode .enhanced-th,
body.dark-mode .datatable-header-text {
    color: #ffd200 !important;
    background: transparent !important;
}
body.dark-mode .enhanced-th:hover {
    background: linear-gradient(135deg, #232526 0%, #414345 100%) !important;
    box-shadow: 0 4px 12px rgba(30,30,30,0.3) !important;
}
body.dark-mode .dataTables_filter input[type="search"] {
    background: #23272f !important;
    color: #ffd200 !important;
    border: 1.5px solid #ff99ac !important;
}
body.dark-mode .dataTables_filter input[type="search"]::placeholder {
    color: #ff99ac !important;
    opacity: 1;
}
body.dark-mode .dataTables_filter .search-icon {
    filter: brightness(1.5) grayscale(1);
}
body.dark-mode .datatable-info-beautiful {
    background: linear-gradient(90deg, #232526 0%, #414345 100%) !important;
    color: #fff !important;
}
body.dark-mode .datatable-info-beautiful strong {
    color: #fff !important;
}
body.dark-mode .status-action-btn {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #ff99ac !important;
}
body.dark-mode .status-action-btn:hover {
    background: rgba(255,255,255,0.18) !important;
    color: #fff !important;
}
body.dark-mode .highlight {
    background: #ffd200 !important;
    color: #23272f !important;
}
body.dark-mode .highlight-row {
    background: #2d313a !important;
}

/* --- Modern Action Buttons: Dark Mode, Refresh, Full Screen --- */
.modern-title-actions .modern-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.7em 1.5em;
    border: none;
    border-radius: 1.2em;
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.08em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,106,136,0.13);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    outline: none;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    user-select: none;
}
.modern-title-actions .modern-tab:focus {
    box-shadow: 0 0 0 3px #ff99ac55;
    z-index: 2;
}
.modern-title-actions .modern-tab:hover {
    background: linear-gradient(90deg, #ff99ac 0%, #ff6a88 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}
.modern-title-actions .modern-tab:active {
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff;
    transform: scale(0.98);
}

/* --- Dark Mode Button --- */
.modern-title-actions .darkmode-switch {
    background: linear-gradient(90deg, #232526 0%, #ff6a88 100%);
    color: #fff;
    border: 2px solid #ff6a88;
    min-width: 44px;
    min-height: 44px;
    padding: 0.7em 1.5em;
    font-size: 1.08em;
    font-weight: 700;
    border-radius: 1.2em;
    transition: background 0.2s, border 0.2s, box-shadow 0.2s;
}
.modern-title-actions .darkmode-switch:hover,
.modern-title-actions .darkmode-switch:focus {
    background: linear-gradient(90deg, #ff99ac 0%, #232526 100%);
    border-color: #ff99ac;
    box-shadow: 0 0 0 3px #ff99ac55;
}

/* --- Refresh Button --- */
.modern-title-actions .refresh-btn {
    background: linear-gradient(90deg, #ff99ac 0%, #ff6a88 100%);
    color: #fff;
    border: 2px solid #ff6a88;
    min-width: 44px;
    min-height: 44px;
    padding: 0.7em 1.5em;
    font-size: 1.08em;
    font-weight: 700;
    border-radius: 1.2em;
    transition: background 0.2s, border 0.2s, box-shadow 0.2s;
}
.modern-title-actions .refresh-btn:hover,
.modern-title-actions .refresh-btn:focus {
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    border-color: #ff99ac;
    box-shadow: 0 0 0 3px #ff6a8855;
}

/* --- Full Screen Button --- */
.modern-title-actions .modern-fullscreen-btn {
    background: linear-gradient(90deg, #ff6a88 0%, #fcb1e3 100%);
    color: #fff;
    border: 2px solid #ff99ac;
    min-width: 44px;
    min-height: 44px;
    padding: 0.7em 1.5em;
    font-size: 1.08em;
    font-weight: 700;
    border-radius: 1.2em;
    transition: background 0.2s, border 0.2s, box-shadow 0.2s;
}
.modern-title-actions .modern-fullscreen-btn:hover,
.modern-title-actions .modern-fullscreen-btn:focus {
    background: linear-gradient(90deg, #fcb1e3 0%, #ff6a88 100%);
    border-color: #ff6a88;
    box-shadow: 0 0 0 3px #fcb1e355;
}

/* --- Button Icon Styling --- */
.modern-title-actions .modern-tab svg {
    margin-right: 0.5em;
    vertical-align: middle;
    width: 1.4em;
    height: 1.4em;
    display: inline-block;
}

/* --- Button Label Styling --- */
.modern-title-actions .modern-tab span {
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* --- Responsive: Stack buttons on small screens --- */
@media (max-width: 600px) {
    .modern-title-actions {
        flex-direction: column;
        gap: 0.7em;
        align-items: stretch;
    }
    .modern-title-actions .modern-tab {
        width: 100%;
        justify-content: center;
        min-width: unset;
        min-height: 44px;
        font-size: 1em;
    }
}

/* --- Dark Mode Styles for Buttons --- */
body.dark-mode .modern-title-actions .modern-tab {
    background: linear-gradient(90deg, #232526 0%, #ff6a88 100%);
    color: #fff;
    border-color: #ff99ac;
}
body.dark-mode .modern-title-actions .modern-tab:hover,
body.dark-mode .modern-title-actions .modern-tab:focus {
    background: linear-gradient(90deg, #ff99ac 0%, #232526 100%);
    color: #fff;
    border-color: #ff6a88;
}

/* Tabs */
.modern-tabs-container, .gradient-tabs-bg {
    margin-bottom: 2em;
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 30%, #fcb1e3 60%, #ff85a1 85%, #ff6a88 100%);
    border-radius: 1.2em;
    box-shadow: 0 4px 24px rgba(255, 106, 136, 0.13), 0 1.5px 6px rgba(252, 177, 227, 0.10);
    padding: 0.7em 1.2em;
    transition: background 0.3s, box-shadow 0.3s;
}
@media (max-width: 900px) {
    .modern-tabs-container, .gradient-tabs-bg {
        padding: 0.5em 0.3em;
    }
}
@media (max-width: 600px) {
    .modern-tabs-container, .gradient-tabs-bg {
        padding: 0.3em 0.1em;
        border-radius: 0.8em;
    }
}
body.dark-mode .modern-tabs-container, body.dark-mode .gradient-tabs-bg {
    background: linear-gradient(90deg, #23272f 0%, #ff6a88 30%, #ff99ac 60%, #fcb1e3 85%, #23272f 100%) !important;
    color: #ff99ac !important;
    box-shadow: 0 4px 24px rgba(255, 106, 136, 0.10), 0 1.5px 6px rgba(255, 153, 172, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
}
.modern-tabs {
    display: flex;
    gap: 1.2em;
    flex-wrap: wrap;
}
.beautiful-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2em;
    border-radius: 1em;
    padding: 0.5em 0.5em;
    background: linear-gradient(90deg, #fffbe7 0%, #ffd200 60%, #ff6a88 100%);
    box-shadow: 0 2px 12px rgba(255,215,0,0.08);
    justify-content: flex-start;
}
.modern-tab, .beautiful-tab {
    display: flex;
    align-items: center;
    gap: 0.5em;
    background: #fff;
    border: none;
    color: #ff6a88;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 1em 1em 0 0;
    padding: 0.6em 1.3em;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(255,215,0,0.04);
    outline: none;
}
.modern-tab.active, .modern-tab:focus, .modern-tab:hover,
.beautiful-tab.active, .beautiful-tab:focus {
    background: linear-gradient(90deg, #ffd200 0%, #ff6a88 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,106,136,0.12);
    z-index: 2;
    transform: translateY(-2px) scale(1.04);
}
.beautiful-tab .tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fffbe7;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(255,215,0,0.08);
}
.beautiful-tab .tab-label {
    margin-left: 2px;
}
.beautiful-tab:hover:not(.active) {
    background: #fffbe7;
    color: #ff6a88;
    transform: translateY(-1px) scale(1.02);
}
@media (max-width: 900px) {
    .modern-tabs-container, .gradient-tabs-bg {
        padding: 0.5em 0.3em;
    }
}
@media (max-width: 767px) {
    .modern-tabs, .beautiful-tabs {
        flex-direction: column;
        gap: 0.7em;
        border-radius: 1em;
        padding: 0.3em 0.1em;
    }
    .modern-tab, .beautiful-tab {
        width: 100%;
        border-radius: 1em;
        justify-content: flex-start;
        font-size: 1em;
        padding: 0.8em 1em;
    }
    .beautiful-tab .tab-icon {
        width: 24px;
        height: 24px;
    }
}
@media (max-width: 600px) {
    .modern-tabs-container, .gradient-tabs-bg {
        padding: 0.2em 0.05em;
        border-radius: 0.8em;
    }
}
body.dark-mode .modern-tabs-container, body.dark-mode .gradient-tabs-bg {
    background: linear-gradient(90deg, #23272f 0%, #ff6a88 30%, #ff99ac 60%, #fcb1e3 85%, #23272f 100%) !important;
    color: #ff99ac !important;
    box-shadow: 0 4px 24px rgba(255, 106, 136, 0.10), 0 1.5px 6px rgba(255, 153, 172, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
}
body.dark-mode .modern-tab, body.dark-mode .beautiful-tab {
    background: #23272f !important;
    color: #ffd200 !important;
}
body.dark-mode .modern-tab.active, body.dark-mode .modern-tab:focus, body.dark-mode .modern-tab:hover,
body.dark-mode .beautiful-tab.active, body.dark-mode .beautiful-tab:focus {
    background: linear-gradient(90deg, #ffd200 0%, #23272f 100%) !important;
    color: #23272f !important;
}
body.dark-mode .beautiful-tab .tab-icon {
    background: #23272f !important;
}
body.dark-mode .beautiful-tab.active .tab-icon, body.dark-mode .beautiful-tab:focus .tab-icon {
    background: #ffd200 !important;
}

#coingecko_exchanges td:first-child, #coingecko_exchanges th:first-child {
    background: linear-gradient(90deg, #ffdde1 0%, #ff99ac 100%);
    font-weight: bold;
    color: #d72660;
    border-left: 3px solid #ff6a88;
}
body.dark-mode #coingecko_exchanges td:first-child, body.dark-mode #coingecko_exchanges th:first-child {
    background: linear-gradient(90deg, #2d1e2f 0%, #ff6a88 100%);
    color: #fff;
    border-left: 3px solid #ff99ac;
}

/* --- Review Block Styles --- */
.modern-reviews-section {
    margin: 2.5em auto 2.5em auto;
    padding: 2em 2em 2.5em 2em;
    border-radius: 1.5em;
    background: linear-gradient(120deg, #ff6a88 0%, #ff99ac 100%);
    box-shadow: 0 8px 32px 0 rgba(255, 106, 136, 0.13), 0 3px 12px 0 rgba(255, 153, 172, 0.10);
    color: #fff;
    max-width: 800px;
}
.modern-reviews-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 1.2em;
    display: flex;
    align-items: center;
    gap: 0.6em;
}
.reviews-list {
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}
.modern-review-card {
    background: linear-gradient(100deg, #fff6fa 0%, #ffe3ed 100%);
    color: #333;
    border-radius: 1.2em;
    box-shadow: 0 2px 12px 0 rgba(255, 106, 136, 0.08);
    padding: 1.2em 1.5em;
    display: flex;
    gap: 1.2em;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}
.modern-review-card:hover {
    box-shadow: 0 6px 24px 0 rgba(255, 106, 136, 0.18);
}
.modern-review-avatar {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(255,106,136,0.10);
    flex-shrink: 0;
}
.modern-review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}
.modern-review-header {
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}
.modern-review-name {
    font-weight: 700;
    color: #ff6a88;
    font-size: 1.1em;
}
.modern-review-date {
    font-size: 0.95em;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.2em;
}
.modern-review-rating {
    color: #ffd200;
    font-size: 1.1em;
    letter-spacing: 0.05em;
}
.modern-review-title {
    font-size: 1.15em;
    font-weight: 600;
    margin-top: 0.2em;
    color: #ff6a88;
}
.modern-review-comment {
    margin: 0.3em 0 0.2em 0;
    font-size: 1.05em;
    color: #444;
}
.modern-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7em;
    font-size: 0.98em;
    margin-top: 0.2em;
}
.modern-review-country, .modern-review-experience, .modern-review-pros, .modern-review-cons, .modern-review-recommend {
    background: #fff6fa;
    color: #ff6a88;
    border-radius: 0.7em;
    padding: 0.2em 0.7em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.2em;
}
.modern-review-recommend {
    background: #ff99ac;
    color: #fff;
}

/* --- Review Form --- */
.modern-review-form-container {
    background: linear-gradient(100deg, #fff6fa 0%, #ffe3ed 100%);
    border-radius: 1.2em;
    box-shadow: 0 2px 12px 0 rgba(255, 106, 136, 0.08);
    padding: 2em 1.5em 1.5em 1.5em;
    max-width: 600px;
    margin: 0 auto;
}
.modern-review-form-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #ff6a88;
    margin-bottom: 1em;
    text-align: center;
}
.modern-form-group {
    margin-bottom: 1.1em;
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}
.modern-form-group label {
    font-weight: 600;
    color: #ff6a88;
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 1em;
}
.modern-form-group input,
.modern-form-group select,
.modern-form-group textarea {
    border-radius: 0.7em;
    border: 1.5px solid #ff99ac;
    padding: 0.7em 1em;
    font-size: 1em;
    background: #fff;
    color: #333;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}
.modern-form-group input:focus,
.modern-form-group select:focus,
.modern-form-group textarea:focus {
    border-color: #ff6a88;
    box-shadow: 0 0 0 2px #ff99ac33;
}
.btn.modern-review-form-btn {
    background: linear-gradient(90deg, #ff6a88 0%, #ff99ac 100%);
    color: #fff;
    border: none;
    border-radius: 0.7em;
    padding: 0.8em 2em;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(255,106,136,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    margin-top: 0.5em;
    display: block;
    width: 100%;
}
.btn.modern-review-form-btn:hover, .btn.modern-review-form-btn:focus {
    background: linear-gradient(90deg, #ff99ac 0%, #ff6a88 100%);
    box-shadow: 0 4px 16px 0 rgba(255,106,136,0.18);
    transform: translateY(-2px);
}
#reviewFormMsg {
    text-align: center;
    font-size: 1em;
    margin-top: 1em;
}

/* --- Responsive Styles --- */
@media (max-width: 900px) {
    .modern-reviews-section {
        padding: 1.2em 0.5em 2em 0.5em;
    }
    .modern-review-form-container {
        padding: 1.2em 0.5em 1em 0.5em;
    }
}
@media (max-width: 600px) {
    .modern-reviews-section {
        padding: 0.7em 0.1em 1.2em 0.1em;
        border-radius: 1em;
    }
    .modern-review-card {
        flex-direction: column;
        align-items: stretch;
        padding: 1em 0.7em;
        gap: 0.7em;
    }
    .modern-review-avatar {
        margin: 0 auto 0.5em auto;
    }
    .modern-review-form-container {
        padding: 0.7em 0.2em 0.7em 0.2em;
        border-radius: 1em;
    }
}

.modern-form-group label svg {
    width: 1.1em;
    height: 1.1em;
    min-width: 18px;
    min-height: 18px;
    vertical-align: middle;
    margin-right: 0.3em;
    display: inline-block;
}


/* Optional: Full-width buttons on mobile */
@media (max-width: 768px) {
    .dt-buttons {
        display: none;
    }

    .m-portlet {
        padding: 0 !important;
    }

    .m-portlet .m-portlet__body {
        padding: 0 !important;
    }

    #coingecko_exchanges td {
        text-align: center !important;
    }

}


