body {
    margin: 0;
    padding: 0 0 40px;
    background: #0D0D0D;
    font: monospace;
    color: white;
    font-size: 14px;
}

.top-area {
    width: 65%;
    margin: 25px auto 20px;
    text-align: center;
}

.top-area h1 {
    margin: 0 0 20px;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 1px;
}



.table-area {
    width: 800px;
    margin: 20px auto;
}

.dataTables_length {
    display: none !important;
}

.dataTables_filter {
    margin-bottom: 20px;
    color: white !important;
    font-weight: 700;
    font-size: 0 !important; 
}

.dataTables_filter input {
    width: 240px;
    height: 34px;
    margin-left: 10px;
    padding: 6px 16px 6px 38px;
    border: none !important;
    border-radius: 50px !important;
    outline: none;
    background: #f2f2f2 !important;
    color: #222 !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23222222'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 16px 16px !important;
    transition: all 0.25s ease;
}

.dataTables_filter input:focus {
    background-color: #ffffff !important;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

table#example {
    width: 100% !important;
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
    outline: none !important;
}

table#example th {
    background: #2f2f2f;
    color: white;
    padding: 18px 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    border-bottom: 2px solid #d8d8d8;
}

table#example th:first-child {
    border-top-left-radius: 12px;
}

table#example th:last-child {
    border-top-right-radius: 12px;
}

table#example td {
    background: #3D3D3D;
    color: white;
    padding: 20px 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    outline: none !important;
}

table#example tr:nth-child(even) td {
    background: #363636;
}

table#example tr:hover td {
    background: #2a2a2a;
}

table#example tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
    box-shadow: -2px 2px 0px 0px #0D0D0D; /* Mesma cor do background do body */
}
table#example tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
    box-shadow: 2px 2px 0px 0px #0D0D0D; /* Mesma cor do background do body */
}

table#example a {
    color: white;
    text-decoration: none;
    font-weight: 800;
}

table#example a:hover {
    color: #6E46AE;
}

.dataTables_info {
    margin-top: 18px;
    color: #777 !important;
    font-weight: 700;
    padding-left: 14px !important;
}

.dataTables_paginate {
    margin-top: 18px;
    color: white !important;
    font-weight: 700;
}

.dataTables_paginate .paginate_button {
    color: white !important;
    border: none !important;
    background: transparent !important;
    font-weight: 700;
}

.dataTables_paginate .paginate_button:hover {
    color: #6E46AE !important;
    background: transparent !important;
    border: none !important;
}

.dataTables_paginate .paginate_button.current {
    background: white !important;
    color: #222 !important;
    border-radius: 6px;
}

table.dataTable.no-footer {
    border-bottom: none !important;
}

@media (max-width: 1200px) {
    .top-area,
    .table-area {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .top-area,
    .table-area {
        width: 95%;
    }

    .top-area h1 {
        font-size: 2.2rem;
    }

    .dataTables_filter {
        text-align: center;
    }

    .dataTables_filter input {
        width: 80%;
        margin-top: 8px;
        margin-left: 0;
    }

    table#example th,
    table#example td {
        padding: 14px 10px;
        font-size: 12px;
    }
}

div.dataTables_wrapper div.dataTables_filter input {
    display: inline-block !important;
    width: 240px !important;
    height: 34px !important;
    margin-left: 10px !important;
    padding: 6px 16px 6px 38px !important;
    border: none !important;
    border-radius: 50px !important;
    outline: none !important;
    background-color: #f2f2f2 !important;
    color: #222 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23222222'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 16px 16px !important;
    transition: all 0.25s ease !important;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none !important;
}

table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after {
    content: "↕";
    margin-left: 8px;
    font-size: 11px;
    color: #aaa;
}

table.dataTable thead th.sorting_asc::after {
    content: "↑";
    color: #8b8bff;
}

table.dataTable thead th.sorting_desc::after {
    content: "↓";
    color: #8b8bff;
}

table#example th {
    position: relative !important;
    white-space: nowrap !important;
}

/* Ticker column — pair icons */
.ticker-cell {
    white-space: nowrap;
    text-align: center;
}
.ticker-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    /*border-radius: 50%;
    object-fit: contain;
    display: inline-block;*/
}
.ticker-text {
    font-weight: 600;
    font-size: 13px;
    vertical-align: middle;
}

