﻿body {
    padding-top: 0;
    padding-bottom: 0;
}

.body-content {
    padding-left: 0;
    padding-right: 0;
}
.vizew-post-area,
.vizew-archive-list-posts-area {
    padding-top: 18px;
}

input,
select,
textarea {
    max-width: 100%;
}

/* =========================
   CRYPTO LIST PAGE
   ========================= */

.crypto-list-page {
    color: #ffffff;
}

.market-panel {
    background-color: #181b1b;
    border: 1px solid #393c3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.market-panel {
    background-color: #181b1b;
    border: 1px solid #393c3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.market-panel-inner {
    padding: 20px;
}

.crypto-table-heading {
    margin-bottom: 12px;
}

.crypto-table-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #2b2f31;
}

.crypto-table-intro {
    margin: 0;
    color: #b8c0c7;
    font-size: 13px;
    line-height: 1.5;
}

.crypto-table-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background-color: #24292b;
    border: 1px solid #3b4042;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}





.market-empty-state {
    padding: 50px 25px;
    text-align: center;
}

    .market-empty-state h4 {
        color: #ffffff;
        margin-bottom: 10px;
    }

    .market-empty-state p {
        color: #b0b7bd;
        margin-bottom: 0;
        line-height: 1.6;
    }

/* =========================
   MARKET TABLE
   ========================= */

.market-table {
    width: 100%;
    margin-bottom: 0;
    background-color: transparent;
    color: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
}

    .market-table thead th {
        background-color: #1f2324;
        color: #9ea7ad;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 12px;
        font-weight: 700;
        border-top: none !important;
        border-bottom: 1px solid #393c3d !important;
        padding: 16px 18px;
        vertical-align: middle;
        white-space: nowrap;
    }

    .market-table tbody td {
        background-color: #181b1b;
        color: #ffffff;
        border-top: 1px solid #2b2f31 !important;
        padding: 18px 18px;
        vertical-align: middle;
    }

    .market-table tbody tr {
        transition: all 0.25s ease;
    }

        .market-table tbody tr:hover td {
            background-color: #202526;
        }

.rank-col {
    width: 80px;
}

.asset-col {
    min-width: 260px;
}

.price-col,
.change-col,
.update-col {
    white-space: nowrap;
}

.rank-cell {
    text-align: center;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 50px;
    background-color: #24292b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #3b4042;
}

.asset-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

    .asset-link:hover .asset-name {
        color: #db4437;
    }

.asset-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 14px;
    background-color: #101314;
    border: 1px solid #303536;
}

.asset-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.asset-name {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.asset-symbol {
    color: #8f98a0;
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.04em;
}

.price-wrap {
    display: flex;
    flex-direction: column;
}

.asset-price {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.change-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.change-up {
    color: #56d27c;
    background-color: rgba(40, 167, 69, 0.14);
    border: 1px solid rgba(40, 167, 69, 0.22);
}

.change-down {
    color: #ff6b81;
    background-color: rgba(220, 53, 69, 0.14);
    border: 1px solid rgba(220, 53, 69, 0.22);
}

.change-neutral {
    color: #c7cdd1;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.update-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.update-date {
    color: #d2d7dc;
    font-size: 13px;
    font-weight: 600;
}

.update-time {
    color: #8f98a0;
    font-size: 12px;
    margin-top: 3px;
}

/* =========================
   DATATABLES CUSTOM
   ========================= */

.dataTables_wrapper {
    padding: 0;
    color: #cfd6dc;
}

    .dataTables_wrapper .row:first-child {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 14px;
    }

    .dataTables_wrapper .row:last-child {
        margin-left: 0;
        margin-right: 0;
        margin-top: 8px;
    }


    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        margin-bottom: 12px;
        color: #b8c0c7 !important;
    }

        .dataTables_wrapper .dataTables_length label,
        .dataTables_wrapper .dataTables_filter label,
        .dataTables_wrapper .dataTables_info,
        .dataTables_wrapper .dataTables_paginate {
            color: #b8c0c7 !important;
            font-size: 13px;
        }

        .dataTables_wrapper .dataTables_filter input,
        .dataTables_wrapper .dataTables_length select {
            background-color: #111416;
            border: 1px solid #393c3d;
            color: #ffffff;
            border-radius: 8px;
            min-height: 38px;
            box-shadow: none !important;
        }

        .dataTables_wrapper .dataTables_filter input {
            margin-left: 8px;
            padding: 6px 12px;
            width: 230px;
            max-width: 100%;
        }

            .dataTables_wrapper .dataTables_filter input:focus,
            .dataTables_wrapper .dataTables_length select:focus {
                border-color: #db4437;
                outline: none;
            }

        .dataTables_wrapper .dataTables_length select {
            padding: 4px 8px;
            margin: 0 6px;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button {
            background: #181b1b !important;
            border: 1px solid #393c3d !important;
            color: #d4d9de !important;
            border-radius: 8px;
            margin: 0 3px;
            padding: 6px 12px !important;
        }

            .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
                background: #232829 !important;
                border-color: #4a4f52 !important;
                color: #ffffff !important;
            }

            .dataTables_wrapper .dataTables_paginate .paginate_button.current,
            .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
                background: #db4437 !important;
                border-color: #db4437 !important;
                color: #ffffff !important;
            }

            .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
            .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
                opacity: 0.45;
                background: #181b1b !important;
                color: #9aa1a8 !important;
            }

table.dataTable.no-footer {
    border-bottom: none !important;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 8px;
    font-size: 12px;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        background: #181b1b !important;
        border: 1px solid #393c3d !important;
        color: #d4d9de !important;
        border-radius: 6px;
        margin: 0 2px !important;
        padding: 3px 9px !important;
        min-width: auto !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: #232829 !important;
            border-color: #4a4f52 !important;
            color: #ffffff !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current,
        .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
            background: #db4437 !important;
            border-color: #db4437 !important;
            color: #ffffff !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
            opacity: 0.45;
            background: #181b1b !important;
            color: #9aa1a8 !important;
        }

.dataTables_wrapper .dataTables_info {
    font-size: 12px;
    padding-top: 8px !important;
}

@media (max-width: 767px) {
    .dataTables_wrapper .dataTables_paginate {
        text-align: center !important;
        margin-top: 12px;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button {
            padding: 2px 6px !important;
            font-size: 11px !important;
            margin: 0 1px !important;
        }

    .dataTables_wrapper .dataTables_info {
        text-align: center;
        margin-bottom: 10px;
    }
}

/* =========================
   SIDEBAR POLISH
   ========================= */

.side-panel {
    background-color: #181b1b;
    border: 1px solid #393c3d;
    padding: 20px;
}

.side-post-item {
    padding: 12px 0;
    border-bottom: 1px solid #2b2f31;
}

    .side-post-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.side-post-thumb {
    width: 95px;
    min-width: 95px;
    margin-right: 14px;
    overflow: hidden;
}

    .side-post-thumb img {
        width: 95px;
        height: 78px;
        object-fit: cover;
        border-radius: 4px;
    }

.side-ad-widget img {
    width: 100%;
    border: 1px solid #393c3d;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.side-ad-widget a:hover img {
    transform: translateY(-2px);
    opacity: 0.95;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991px) {
    .market-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .market-panel-badge {
        margin-top: 4px;
    }
}

@media (max-width: 767px) {
    .market-panel-header {
        padding: 20px 18px;
    }

    .market-panel-title {
        font-size: 22px;
    }

    .market-panel-subtitle {
        font-size: 13px;
    }

    .market-table thead th,
    .market-table tbody td {
        padding: 14px 12px;
    }

    .asset-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        margin-right: 10px;
    }

    .asset-name {
        font-size: 14px;
    }

    .asset-symbol {
        font-size: 11px;
    }

    .asset-price {
        font-size: 14px;
    }

    .change-pill {
        padding: 5px 10px;
        font-size: 11px;
    }

    .dataTables_wrapper {
        padding: 14px;
    }

        .dataTables_wrapper .dataTables_filter input {
            width: 170px;
        }

    .side-panel {
        padding: 16px;
    }
}
/* =========================
   CURRENCY EXCHANGE PAGE
   ========================= */

.currency-exchange-page {
    color: #ffffff;
}

.exchange-panel {
    background-color: #181b1b;
    border: 1px solid #393c3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.exchange-panel-inner {
    padding: 20px;
}

.exchange-topbar {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #2b2f31;
}

.exchange-intro {
    margin: 0;
    color: #b8c0c7;
    font-size: 13px;
    line-height: 1.6;
}

.exchange-form-card {
    background-color: #151818;
    border: 1px solid #2c3133;
    padding: 20px;
    margin-bottom: 24px;
}

.exchange-label {
    color: #d5dbe0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.exchange-input {
    background-color: #101314 !important;
    border: 1px solid #393c3d !important;
    color: #ffffff !important;
    min-height: 44px;
    box-shadow: none !important;
}

    .exchange-input:focus {
        border-color: #db4437 !important;
        box-shadow: none !important;
    }

    .exchange-input::placeholder {
        color: #7f8a93;
    }

.exchange-select-card {
    background-color: #1b1f20;
    border: 1px solid #2f3436;
    padding: 18px;
    margin-bottom: 20px;
    height: 100%;
}

.exchange-select-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.exchange-radio-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.exchange-radio-option {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #393c3d;
    background-color: #101314;
    border-radius: 999px;
    color: #d5dbe0;
    cursor: pointer;
    margin-bottom: 0;
    transition: all 0.2s ease;
}

    .exchange-radio-option input {
        margin-right: 8px;
    }

    .exchange-radio-option:hover {
        border-color: #db4437;
        color: #ffffff;
    }

.exchange-action-bar {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
    margin-bottom: 20px;
}

.exchange-btn {
    background-color: #db4437;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

    .exchange-btn:hover,
    .exchange-btn:focus {
        background-color: #c5372b;
        color: #ffffff;
        box-shadow: none;
    }

.exchange-result-card {
    background: linear-gradient(135deg, #11194a 0%, #16205d 100%);
    border: 1px solid #2f3e8a;
    padding: 20px;
}

.exchange-result-label {
    color: #c9d1d9;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.exchange-result-value {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.exchange-bottom-ad {
    margin-top: 24px;
}

    .exchange-bottom-ad img {
        width: 100%;
        border: 1px solid #393c3d;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .exchange-bottom-ad a:hover img {
        transform: translateY(-2px);
        opacity: 0.95;
    }

@media (max-width: 767px) {
    .exchange-panel-inner {
        padding: 16px;
    }

    .exchange-form-card {
        padding: 16px;
    }

    .exchange-select-card {
        padding: 16px;
    }

    .exchange-result-value {
        font-size: 22px;
    }

    .exchange-radio-group {
        gap: 8px;
    }

    .exchange-radio-option {
        width: 100%;
        justify-content: flex-start;
    }
}
