/* ==========================================================
   ALL MARKET RESULTS
========================================================== */

.all-market-results-section {
    width: 100%;
    padding: 70px 0;
    background: #f8fafc;
}


.all-market-results-section .container-fluid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}


/* ==========================================================
   SECTION HEADER
========================================================== */

.all-market-results-section .section-header {
    text-align: center;
    margin-bottom: 35px;
}


.all-market-results-section .section-tag {
    display: inline-block;

    margin-bottom: 12px;

    color: #2563eb;

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .5px;
}


.all-market-results-section .section-title {
    margin: 0 0 12px;

    color: #0f172a;

    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
}


.all-market-results-section .section-description {
    max-width: 850px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   TABLE CARD
========================================================== */

.all-market-results-wrapper {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(15, 23, 42, .06);
}


/* ==========================================================
   TABLE
========================================================== */

.all-market-results-table {
    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;
}


/* ==========================================================
   TABLE HEADER
========================================================== */

.all-market-results-table thead th {
    padding: 18px 20px;

    background: #2563eb;

    color: #ffffff;

    border-right: 1px solid rgba(255,255,255,.18);

    font-size: 16px;
    font-weight: 800;

    text-align: center;
}


.all-market-results-table thead th:last-child {
    border-right: 0;
}


.all-market-results-table thead th:first-child {
    width: 42%;
}


.all-market-results-table thead th:nth-child(2),
.all-market-results-table thead th:nth-child(3) {
    width: 29%;
}


/* ==========================================================
   TABLE BODY
========================================================== */

.all-market-results-table tbody td {
    padding: 17px 20px;

    border-bottom: 1px solid #e2e8f0;

    color: #334155;

    font-size: 16px;
    font-weight: 600;

    text-align: center;
}


.all-market-results-table tbody tr:last-child td {
    border-bottom: 0;
}


.all-market-results-table tbody tr:nth-child(even) {
    background: #f8fafc;
}


/* ==========================================================
   MARKET NAME
========================================================== */

.all-market-results-table .market-name {
    color: #0f172a;
    font-weight: 700;
    text-align: center;
}

/* ==========================================================
   RESULT
========================================================== */

.all-market-results-table .result-cell {
    color: #0f172a;

    font-size: 18px;
    font-weight: 800;
}


.all-market-results-table .today-result {
    color: #2563eb;
}


/* ==========================================================
   WAIT
========================================================== */

.all-market-results-table .result-wait {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 65px;

    padding: 6px 12px;

    border-radius: 8px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 14px;
    font-weight: 800;
}


/* ==========================================================
   HOVER
========================================================== */

.all-market-results-table tbody tr {
    transition: background .2s ease;
}


.all-market-results-table tbody tr:hover {
    background: #f1f5f9;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .all-market-results-section {
        padding: 50px 0;
    }


    .all-market-results-section .container-fluid {
        padding: 0 14px;
    }


    .all-market-results-section .section-header {
        margin-bottom: 25px;
    }


    .all-market-results-section .section-title {
        font-size: 28px;
    }


    .all-market-results-section .section-description {
        font-size: 15px;
        line-height: 1.6;
    }


    .all-market-results-wrapper {
        border-radius: 14px;
    }


    .all-market-results-table thead th {
        padding: 14px 8px;

        font-size: 13px;
    }


    .all-market-results-table tbody td {
        padding: 14px 8px;

        font-size: 14px;
    }


    .all-market-results-table thead th:first-child {
        width: 44%;
    }


    .all-market-results-table thead th:nth-child(2),
    .all-market-results-table thead th:nth-child(3) {
        width: 28%;
    }


    .all-market-results-table .market-name {
        font-size: 14px;
    }


    .all-market-results-table .result-cell {
        font-size: 16px;
    }


    .all-market-results-table .result-wait {
        min-width: 52px;

        padding: 5px 8px;

        font-size: 12px;
    }

}
/* ==========================================================
   ALL MARKET MONTHLY CHART
========================================================== */

.all-market-monthly-section {
    width: 100%;
    padding: 70px 0;
    background: #ffffff;
}


.all-market-monthly-section .container-fluid {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 0 20px;

    box-sizing: border-box;
}


/* ==========================================================
   HEADER
========================================================== */

.all-market-monthly-section .section-header {
    text-align: center;
    margin-bottom: 32px;
}


.all-market-monthly-section .section-tag {
    display: inline-block;

    margin-bottom: 12px;

    color: #2563eb;

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .5px;
}


.all-market-monthly-section .section-title {
    margin: 0 0 12px;

    color: #0f172a;

    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
}


.all-market-monthly-section .section-description {
    max-width: 850px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   MONTHLY CHART CONTROLS
========================================================== */

.monthly-chart-controls {
    width: 100%;

    margin-bottom: 25px;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, .05);

    box-sizing: border-box;
}


.monthly-chart-filter {
    display: flex;

    align-items: flex-end;

    gap: 15px;

    width: 100%;
}


.monthly-chart-field {
    flex: 1;
}


.monthly-chart-field label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 14px;
    font-weight: 700;
}


.monthly-chart-field select {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    color: #0f172a;

    font-size: 15px;
    font-weight: 600;

    outline: none;

    box-sizing: border-box;
}


.monthly-chart-field select:focus {
    border-color: #2563eb;
}


.monthly-chart-view-button {
    height: 48px;

    padding: 0 25px;

    border: 0;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background .2s ease,
        transform .2s ease;
}


.monthly-chart-view-button:hover {
    background: #1d4ed8;

    transform: translateY(-1px);
}


/* ==========================================================
   CHART TABLE
========================================================== */

.all-market-monthly-wrapper {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(15, 23, 42, .06);
}


/*
   buildMonthTable() ke andar jo table generate hoti hai
*/

.all-market-monthly-wrapper table {
    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;
}


/* ==========================================================
   TABLE HEADER
========================================================== */

.all-market-monthly-wrapper thead th {
    padding: 16px 10px;

    background: #2563eb;

    color: #ffffff;

    border-right: 1px solid rgba(255, 255, 255, .18);

    font-size: 14px;
    font-weight: 800;

    text-align: center;

    white-space: nowrap;
}


.all-market-monthly-wrapper thead th:last-child {
    border-right: 0;
}


/* ==========================================================
   TABLE BODY
========================================================== */

.all-market-monthly-wrapper tbody td {
    padding: 13px 8px;

    color: #0f172a;

    border-bottom: 1px solid #e2e8f0;

    font-size: 15px;
    font-weight: 700;

    text-align: center;
}


.all-market-monthly-wrapper tbody tr:last-child td {
    border-bottom: 0;
}


.all-market-monthly-wrapper tbody tr:nth-child(even) {
    background: #f8fafc;
}


.all-market-monthly-wrapper tbody tr:hover {
    background: #f1f5f9;
}


/* ==========================================================
   DATE / DAY COLUMN
========================================================== */

.all-market-monthly-wrapper th:first-child,
.all-market-monthly-wrapper td:first-child {
    width: 70px;
}


/* ==========================================================
   MARKET NAME
========================================================== */

.monthly-market-name {
    text-align: center !important;
}


.market-name-full {
    display: inline;
}


.market-name-short {
    display: none;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .all-market-monthly-section {
        padding: 50px 0;
    }


    .all-market-monthly-section .container-fluid {
        padding: 0 10px;
    }


    .all-market-monthly-section .section-header {
        margin-bottom: 24px;
    }


    .all-market-monthly-section .section-title {
        font-size: 28px;
    }


    .all-market-monthly-section .section-description {
        font-size: 14px;
        line-height: 1.6;
    }


    /* Controls */

    .monthly-chart-controls {
        padding: 14px;

        border-radius: 14px;
    }


    .monthly-chart-filter {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }


    .monthly-chart-field {
        width: 100%;
    }


    .monthly-chart-view-button {
        width: 100%;

        grid-column: 1 / -1;
    }


    /* Chart */

    .all-market-monthly-wrapper {
        border-radius: 12px;
    }


    .all-market-monthly-wrapper table {
        table-layout: fixed;
    }


    .all-market-monthly-wrapper thead th {
        padding: 12px 4px;

        font-size: 12px;
    }


    .all-market-monthly-wrapper tbody td {
        padding: 12px 3px;

        font-size: 13px;
    }


    /*
     * Mobile par full name hide
     * aur short name show
     */

    .market-name-full {
        display: none;
    }


    .market-name-short {
        display: inline;
    }


    /*
     * Date column
     */

    .all-market-monthly-wrapper th:first-child,
    .all-market-monthly-wrapper td:first-child {
        width: 42px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .all-market-monthly-section {
        padding: 40px 0;
    }


    .all-market-monthly-section .container-fluid {
        padding: 0 7px;
    }


    .all-market-monthly-section .section-title {
        font-size: 25px;
    }


    .all-market-monthly-wrapper thead th {
        padding: 11px 2px;

        font-size: 11px;
    }


    .all-market-monthly-wrapper tbody td {
        padding: 11px 2px;

        font-size: 12px;
    }


    .all-market-monthly-wrapper th:first-child,
    .all-market-monthly-wrapper td:first-child {
        width: 38px;
    }


    .monthly-chart-field select {
        height: 45px;

        padding: 0 9px;

        font-size: 14px;
    }


    .monthly-chart-view-button {
        height: 45px;

        font-size: 14px;
    }

}
/* ==========================================================
   MONTHLY CHART MARKET NAMES
========================================================== */

.monthly-chart .desktop-name {
    display: inline;
}

.monthly-chart .mobile-name {
    display: none;
}


/* ==========================================================
   MOBILE MARKET NAMES
========================================================== */

@media (max-width: 768px) {

    .monthly-chart .desktop-name {
        display: none;
    }

    .monthly-chart .mobile-name {
        display: inline;
    }

}
/* ==========================================================
   ALL MARKET YEARLY CHART
========================================================== */

.all-market-yearly-section {
    width: 100%;
    padding: 70px 0;
    background: #f8fafc;
}


.all-market-yearly-section .container-fluid {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 0 20px;

    box-sizing: border-box;
}


/* ==========================================================
   SECTION HEADER
========================================================== */

.all-market-yearly-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}


.all-market-yearly-section .section-tag {
    display: inline-block;

    margin-bottom: 10px;

    color: #2563eb;

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .5px;
}


.all-market-yearly-section .section-title {
    margin: 0 0 12px;

    color: #0f172a;

    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
}


.all-market-yearly-section .section-description {
    max-width: 800px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   FILTER
========================================================== */

.yearly-chart-filter {
    display: flex;
    align-items: flex-end;

    gap: 15px;

    width: 100%;
    max-width: 850px;

    margin: 0 auto 28px;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, .05);

    box-sizing: border-box;
}


.yearly-filter-field {
    flex: 1;
    min-width: 0;
}


.yearly-filter-field label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 14px;
    font-weight: 700;
}


.yearly-filter-field select {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    color: #0f172a;

    font-size: 15px;
    font-weight: 600;

    outline: none;

    box-sizing: border-box;
}


.yearly-filter-field select:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .10);
}


.yearly-chart-button {
    height: 48px;

    padding: 0 26px;

    border: 0;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.yearly-chart-button:hover {
    background: #1d4ed8;

    transform: translateY(-1px);
}


/* ==========================================================
   YEARLY TABLE WRAPPER
========================================================== */

.yearly-chart-wrapper {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(15, 23, 42, .06);
}


/* ==========================================================
   YEARLY TABLE
========================================================== */

.yearly-chart-table {
    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;
}


/* ==========================================================
   TABLE HEADER
========================================================== */

.yearly-chart-table thead th {
    padding: 15px 8px;

    background: #2563eb;

    color: #ffffff;

    border-right: 1px solid rgba(255, 255, 255, .18);

    font-size: 14px;
    font-weight: 800;

    text-align: center;

    white-space: nowrap;
}


.yearly-chart-table thead th:last-child {
    border-right: 0;
}


/* ==========================================================
   TABLE BODY
========================================================== */

.yearly-chart-table tbody td {
    padding: 12px 6px;

    color: #0f172a;

    border-bottom: 1px solid #e2e8f0;

    font-size: 14px;
    font-weight: 700;

    text-align: center;
}


.yearly-chart-table tbody tr:last-child td {
    border-bottom: 0;
}


.yearly-chart-table tbody tr:nth-child(even) {
    background: #f8fafc;
}


.yearly-chart-table tbody tr:hover {
    background: #f1f5f9;
}


/* ==========================================================
   DAY COLUMN
========================================================== */

.yearly-chart-table .yearly-day,
.yearly-chart-table thead th:first-child {
    width: 55px;

    font-weight: 800;
}


/* ==========================================================
   CURRENT DAY
========================================================== */

.yearly-chart-table tbody tr.current-day {
    background: #eff6ff;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .all-market-yearly-section {
        padding: 50px 0;
    }


    .all-market-yearly-section .container-fluid {
        padding: 0 8px;
    }


    .all-market-yearly-section .section-header {
        margin-bottom: 24px;
    }


    .all-market-yearly-section .section-title {
        font-size: 27px;
    }


    .all-market-yearly-section .section-description {
        font-size: 14px;
        line-height: 1.6;
    }


    /* ------------------------------------------------------
       FILTER
    ------------------------------------------------------ */

    .yearly-chart-filter {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;

        max-width: none;

        margin-bottom: 20px;

        padding: 14px;

        border-radius: 14px;
    }


    .yearly-filter-field {
        width: 100%;
    }


    .yearly-filter-field select {
        height: 44px;

        padding: 0 9px;

        font-size: 14px;
    }


    .yearly-chart-button {
        grid-column: 1 / -1;

        width: 100%;

        height: 44px;

        font-size: 14px;
    }


    /* ------------------------------------------------------
       TABLE
    ------------------------------------------------------ */

    .yearly-chart-wrapper {
        border-radius: 12px;

        overflow: hidden;
    }


    .yearly-chart-table {
        width: 100%;

        table-layout: fixed;
    }


    .yearly-chart-table thead th {
        padding: 11px 2px;

        font-size: 12px;
    }


    .yearly-chart-table tbody td {
        padding: 10px 2px;

        font-size: 12px;
    }


    .yearly-chart-table .yearly-day,
    .yearly-chart-table thead th:first-child {
        width: 38px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .all-market-yearly-section {
        padding: 40px 0;
    }


    .all-market-yearly-section .container-fluid {
        padding: 0 5px;
    }


    .all-market-yearly-section .section-title {
        font-size: 24px;
    }


    .yearly-chart-filter {
        padding: 12px;
    }


    .yearly-chart-table thead th {
        padding: 10px 1px;

        font-size: 11px;
    }


    .yearly-chart-table tbody td {
        padding: 9px 1px;

        font-size: 11px;
    }


    .yearly-chart-table .yearly-day,
    .yearly-chart-table thead th:first-child {
        width: 34px;
    }

}
/* ==========================================================
   YEARLY HALF SECTIONS
========================================================== */

.yearly-half-section {
    width: 100%;
    margin-bottom: 25px;
}


.yearly-half-title {
    margin-bottom: 12px;

    color: #0f172a;

    font-size: 20px;
    font-weight: 800;

    text-align: center;
}


/* ==========================================================
   VIEW MORE
========================================================== */

.yearly-view-more-wrap {
    display: flex;

    justify-content: center;

    margin-top: 10px;
}


.yearly-view-more {
    min-width: 180px;

    height: 46px;

    padding: 0 24px;

    border: 0;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.yearly-view-more:hover {
    background: #1d4ed8;

    transform: translateY(-1px);
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .yearly-half-title {
        margin-bottom: 10px;

        font-size: 17px;
    }


    .yearly-view-more {
        width: 100%;

        max-width: 240px;

        height: 44px;

        font-size: 14px;
    }

}
/* ==========================================================
   CUSTOM CHART
========================================================== */

.custom-chart-section {
    width: 100%;
    padding: 70px 0;
    background: #f8fafc;
    box-sizing: border-box;
}


.custom-chart-section .container-fluid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}


/* ==========================================================
   HEADER
========================================================== */

.custom-chart-section .section-header {
    margin-bottom: 28px;
}


.custom-chart-section .section-tag {
    display: inline-block;

    margin-bottom: 8px;

    color: #2563eb;

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
}


.custom-chart-section .section-title {
    margin: 0 0 10px;

    color: #0f172a;

    font-size: 36px;
    font-weight: 800;
}


.custom-chart-section .section-description {
    max-width: 800px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.6;
}


/* ==========================================================
   FILTER
========================================================== */
/* ==========================================================
   CUSTOM CHART DATE FILTER
========================================================== */

.custom-chart-filter {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        auto;

    align-items: end;

    gap: 15px;

    width: 100%;
    max-width: 850px;

    margin: 0 auto 15px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 22px;

    box-shadow:
        0 8px 30px rgba(15, 23, 42, .06);

    box-sizing: border-box;
}


.custom-filter-field {
    width: 100%;
    min-width: 0;
}


.custom-filter-field label {
    display: block;

    margin: 0 0 9px 2px;

    color: #1e293b;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;
}


.custom-date-input {
    width: 100%;
    min-width: 0;

    box-sizing: border-box;
}


.custom-date-input input {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 52px;

    padding: 0 14px;

    border: 2px solid #d5dbe5;

    border-radius: 14px;

    background: #ffffff;

    color: #1e293b;

    font-size: 16px;

    font-weight: 500;

    box-sizing: border-box;

    outline: none;

    -webkit-appearance: none;
    appearance: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.custom-date-input input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .10);
}


.custom-chart-button {
    height: 52px;

    padding: 0 25px;

    border: 0;

    border-radius: 12px;

    background: #2563eb;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    box-sizing: border-box;
}


.custom-chart-button:hover {
    background: #1d4ed8;
}


/* ==========================================================
   MOBILE DATE FILTER
========================================================== */

@media screen and (max-width: 768px) {

    .custom-chart-filter {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 15px;

        width: 100%;
        max-width: 100%;

        margin: 0 auto 15px;

        padding: 20px;

        border-radius: 22px;

        box-sizing: border-box;
    }


    .custom-filter-field {
        width: 100%;
        min-width: 0;
    }


    .custom-filter-field label {
        margin-bottom: 8px;

        font-size: 14px;
    }


    .custom-date-input {
        width: 100%;
        min-width: 0;
    }


    .custom-date-input input {
        width: 100%;
        min-width: 0;
        max-width: 100%;

        height: 50px;

        padding: 0 10px;

        border-radius: 13px;

        font-size: 14px;

        box-sizing: border-box;
    }


    .custom-chart-button {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 100%;

        height: 50px;

        border-radius: 12px;

        font-size: 15px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media screen and (max-width: 480px) {

    .custom-chart-filter {
        padding: 16px;

        gap: 12px;

        border-radius: 20px;
    }


    .custom-filter-field label {
        font-size: 13px;
    }


    .custom-date-input input {
        height: 48px;

        padding: 0 8px;

        font-size: 13px;
    }


    .custom-chart-button {
        height: 48px;

        font-size: 14px;
    }

}

/* ==========================================================
   QUICK BUTTONS
========================================================== */

.custom-quick-buttons {
    display: flex;

    justify-content: center;

    gap: 8px;

    margin-bottom: 25px;
}


.custom-quick-btn {
    padding: 8px 15px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    background: #ffffff;

    color: #475569;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}


.custom-quick-btn:hover,
.custom-quick-btn.active {
    background: #eff6ff;

    border-color: #2563eb;

    color: #2563eb;
}


/* ==========================================================
   TABLE
========================================================== */

.custom-chart-wrapper {
    width: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, .06);
}


.custom-chart-table {
    width: 100%;

    table-layout: fixed;

    border-collapse: collapse;
}


/* Date + 6 markets = 7 columns */

.custom-chart-table th:first-child,
.custom-chart-table td:first-child {
    width: 105px;
}


.custom-chart-table th,
.custom-chart-table td {
    box-sizing: border-box;

    text-align: center;

    overflow: hidden;
}


.custom-chart-table thead th {
    height: 52px;

    padding: 8px 5px;

    background: #2563eb;

    color: #ffffff;

    border-right: 1px solid
        rgba(255,255,255,.18);

    font-size: 13px;
    font-weight: 800;

    white-space: normal;
}


.custom-chart-table tbody td {
    height: 42px;

    padding: 8px 4px;

    border-bottom: 1px solid #e2e8f0;

    color: #0f172a;

    font-size: 13px;
    font-weight: 700;
}


.custom-chart-table tbody tr:nth-child(even) {
    background: #f8fafc;
}


.custom-chart-table tbody tr:last-child td {
    border-bottom: 0;
}


.custom-date {
    white-space: nowrap;

    font-weight: 800 !important;
}


.custom-empty {
    color: #94a3b8;

    font-weight: 700;
}


/* ==========================================================
   MARKET NAMES
========================================================== */

.mobile-market-name {
    display: none;
}


.desktop-market-name {
    display: inline;
}


/* ==========================================================
   VIEW MORE
========================================================== */

.custom-view-more-wrap {
    display: flex;

    justify-content: center;

    margin-top: 18px;
}


.custom-view-more {
    min-width: 170px;

    height: 44px;

    padding: 0 20px;

    border: 0;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
}


.custom-view-more:hover {
    background: #1d4ed8;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .custom-chart-section {
        padding: 50px 0;
    }


    .custom-chart-section .container-fluid {
        padding: 0 8px;
    }


    .custom-chart-section .section-title {
        font-size: 27px;
    }


    .custom-chart-section .section-description {
        font-size: 14px;
    }


    /* ------------------------------------------------------
       FILTER
    ------------------------------------------------------ */

    .custom-chart-filter {
        grid-template-columns: 1fr 1fr;

        gap: 10px;

        padding: 12px;
    }


    .custom-filter-field input {
        height: 44px;

        font-size: 13px;

        padding: 0 8px;
    }


    .custom-chart-button {
        grid-column: 1 / -1;

        width: 100%;

        height: 44px;
    }


    /* ------------------------------------------------------
       QUICK BUTTONS
    ------------------------------------------------------ */

    .custom-quick-buttons {
        gap: 6px;

        margin-bottom: 18px;
    }


    .custom-quick-btn {
        flex: 1;

        min-width: 0;

        padding: 8px 5px;

        font-size: 11px;
    }


    /* ------------------------------------------------------
       TABLE
    ------------------------------------------------------ */

    .custom-chart-wrapper {
        border-radius: 12px;
    }


    .custom-chart-table {
        width: 100%;

        table-layout: fixed;
    }


    .custom-chart-table th:first-child,
    .custom-chart-table td:first-child {
        width: 58px;
    }


    .custom-chart-table thead th {
        height: 48px;

        padding: 5px 1px;

        font-size: 10px;
    }


    .custom-chart-table tbody td {
        height: 38px;

        padding: 5px 1px;

        font-size: 11px;
    }


    /* Full name hide */

    .desktop-market-name {
        display: none !important;
    }


    /* Short name show */

    .mobile-market-name {
        display: inline-block !important;

        white-space: pre-line;

        line-height: 1.05;

        font-size: 10px;
    }


    .custom-date {
        font-size: 10px !important;
    }


    .custom-view-more {
        width: 100%;

        max-width: 220px;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

    .custom-chart-section .container-fluid {
        padding: 0 4px;
    }


    .custom-chart-filter {
        padding: 9px;
    }


    .custom-chart-table th:first-child,
    .custom-chart-table td:first-child {
        width: 54px;
    }


    .custom-chart-table thead th {
        font-size: 9px;
    }


    .custom-chart-table tbody td {
        font-size: 10px;
    }


    .mobile-market-name {
        font-size: 9px;
    }

}
.custom-chart-section .section-header {
    width: 100%;
    margin: 0 auto 28px;
    text-align: center;
}
.custom-chart-section .section-title {
    width: 100%;
    margin: 0 auto 10px;

    color: #0f172a;

    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;

    text-align: center;
}
.custom-chart-section .section-description {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.6;

    text-align: center;
}
/* ==========================================================
   CUSTOM EXTRA ROWS
========================================================== */

.custom-chart-table tbody tr.custom-extra-row {
    display: none;
}
/* ==========================================================
   COMPARE SECTION HEADER
========================================================== */

.game-compare-section {
    width: 100%;
    padding: 70px 20px 50px;
    background: #f8fafc;
    box-sizing: border-box;
}


.game-compare-section .container-fluid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}


/* ==========================================================
   HEADER
========================================================== */

.game-compare-section .section-header {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 35px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ==========================================================
   SECTION TAG
========================================================== */

.game-compare-section .section-tag {
    display: inline-block;

    margin-bottom: 12px;

    color: #2563eb;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;

    line-height: 1.4;
}


/* ==========================================================
   MAIN HEADING
========================================================== */

.game-compare-section .section-title {
    margin: 0;

    color: #0f172a;

    font-size: 36px;
    font-weight: 800;

    line-height: 1.2;

    text-align: center;
}


/* ==========================================================
   DESCRIPTION
========================================================== */

.game-compare-section .section-description {
    width: 100%;
    max-width: 760px;

    margin: 14px auto 0;

    color: #64748b;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.7;

    text-align: center;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .game-compare-section {
        padding: 45px 15px 35px;
    }


    .game-compare-section .section-header {
        margin-bottom: 25px;
    }


    .game-compare-section .section-tag {
        margin-bottom: 9px;

        font-size: 12px;

        letter-spacing: .8px;
    }


    .game-compare-section .section-title {
        font-size: 28px;

        line-height: 1.25;
    }


    .game-compare-section .section-description {
        max-width: 100%;

        margin-top: 12px;

        font-size: 14px;

        line-height: 1.6;

        padding: 0 5px;

        box-sizing: border-box;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 400px) {

    .game-compare-section {
        padding: 40px 12px 30px;
    }


    .game-compare-section .section-title {
        font-size: 25px;
    }


    .game-compare-section .section-description {
        font-size: 13px;

        line-height: 1.55;
    }

}

/* ==========================================================
   COMPARE FORM
========================================================== */

.compare-form {
    width: 100%;
    max-width: 100%;

    margin: 30px auto 0;
    padding: 25px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(15, 23, 42, .06);

    box-sizing: border-box;
}


/* ==========================================================
   MARKET LIST
========================================================== */

.compare-market-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 15px;

    box-sizing: border-box;
}


/* ==========================================================
   MARKET ROW
========================================================== */

.compare-market-row {
    width: 100%;

    padding: 20px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    transition: .25s ease;

    box-sizing: border-box;
}


.compare-market-row:hover {
    border-color: #bfdbfe;

    box-shadow:
        0 6px 20px rgba(37, 99, 235, .06);
}


/* ==========================================================
   MARKET HEADER
========================================================== */

.compare-market-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;

    box-sizing: border-box;
}


.compare-market-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 32px;

    padding: 5px 12px;

    border-radius: 8px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 14px;
    font-weight: 700;

    box-sizing: border-box;
}


/* ==========================================================
   REMOVE MARKET
========================================================== */

.compare-remove-market {
    border: 1px solid #fecaca;

    background: #fff1f2;

    color: #dc2626;

    padding: 7px 13px;

    border-radius: 8px;

    font-family: inherit;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;
}


.compare-remove-market:hover {
    background: #dc2626;

    color: #ffffff;

    border-color: #dc2626;
}


/* ==========================================================
   FIELDS
========================================================== */

.compare-fields {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;

    box-sizing: border-box;
}


.compare-field {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 7px;

    min-width: 0;

    box-sizing: border-box;
}


.compare-field label {
    font-size: 14px;

    font-weight: 700;

    color: #334155;

    line-height: 1.3;
}


/* ==========================================================
   SELECTS
========================================================== */

.compare-field select {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 48px;

    padding: 0 38px 0 14px;

    border: 1px solid #cbd5e1;

    border-radius: 12px;

    background: #ffffff;

    color: #0f172a;

    font-family: inherit;

    font-size: 14px;
    font-weight: 500;

    outline: none;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.compare-field select:hover {
    border-color: #93c5fd;
}


.compare-field select:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .10);
}


/* ==========================================================
   ACTIONS
========================================================== */

.compare-actions {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 20px;

    padding-top: 20px;

    border-top: 1px solid #e2e8f0;

    box-sizing: border-box;
}


/* ==========================================================
   ADD MARKET
========================================================== */

.compare-add-market {
    min-height: 46px;

    padding: 0 18px;

    border: 1px solid #bfdbfe;

    border-radius: 10px;

    background: #eff6ff;

    color: #2563eb;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;
}


.compare-add-market:hover {
    background: #2563eb;

    color: #ffffff;

    border-color: #2563eb;
}


/* ==========================================================
   SUBMIT
========================================================== */

.compare-submit-button {
    min-height: 46px;

    padding: 0 24px;

    border: none;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;
}


.compare-submit-button:hover {
    background: #1d4ed8;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .20);
}


.compare-submit-button:active {
    transform: translateY(0);
}


/* ==========================================================
   AJAX RESULTS
========================================================== */

.compare-results {
    width: 100%;

    margin-top: 25px;

    box-sizing: border-box;
}


.compare-results:empty {
    display: none;
}


/* ==========================================================
   EXTRA RESULT ROWS
   First 10 rows visible
========================================================== */

.compare-extra-row {
    display: none;
}


/* ==========================================================
   COMPARE RESULTS SECTION
========================================================== */

.compare-results-section {
    width: 100%;

    margin-top: 30px;

    padding: 30px 0 10px;

    box-sizing: border-box;
}


/* ==========================================================
   RESULT HEADER
========================================================== */

.compare-results-header {
    width: 100%;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    margin-bottom: 25px;

    box-sizing: border-box;
}


.compare-results-tag {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding: 5px 12px;

    border-radius: 8px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 13px;
    font-weight: 700;

    box-sizing: border-box;
}


.compare-results-title {
    margin: 10px 0 8px;

    color: #0f172a;

    font-size: 28px;

    line-height: 1.3;

    font-weight: 700;

    text-align: center;
}


.compare-results-description {
    width: 100%;
    max-width: 700px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;

    line-height: 1.7;

    text-align: center;
}


/* ==========================================================
   TABLE WRAPPER
========================================================== */

.compare-table-wrapper {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    background: #ffffff;

    border: 1px solid #dbe3ee;

    border-radius: 16px;

    box-shadow:
        0 12px 35px rgba(15, 23, 42, .07);

    box-sizing: border-box;

    -webkit-overflow-scrolling: touch;
}


/* ==========================================================
   TABLE
========================================================== */

.compare-table {
    width: 100%;

    min-width: 600px;

    border-collapse: collapse;

    table-layout: fixed;

    margin: 0;
}


/* ==========================================================
   TABLE HEADER
========================================================== */

.compare-table thead {
    background: #2563eb;
}


.compare-table th {
    padding: 14px 10px;

    background: #2563eb;

    color: #ffffff;

    border-right:
        1px solid rgba(255, 255, 255, .15);

    border-bottom:
        1px solid rgba(255, 255, 255, .15);

    text-align: center;

    font-size: 15px;
    font-weight: 700;

    vertical-align: middle;

    box-sizing: border-box;
}


.compare-table th:last-child {
    border-right: none;
}


/* ==========================================================
   MARKET HEADER SMALL TEXT
========================================================== */

.compare-table th small {
    display: block;

    margin-top: 5px;

    color: #dbeafe;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.4;
}


/* ==========================================================
   MARKET NAME SWITCH
========================================================== */

.compare-desktop-name {
    display: inline;
}


.compare-mobile-name {
    display: none;
}


/* ==========================================================
   TABLE BODY
========================================================== */

.compare-table td {
    height: 46px;

    padding: 10px 8px;

    border-right: 1px solid #e2e8f0;

    border-bottom: 1px solid #e2e8f0;

    text-align: center;

    color: #334155;

    font-size: 15px;
    font-weight: 600;

    box-sizing: border-box;
}


.compare-table td:last-child {
    border-right: none;
}


.compare-table tbody tr:last-child td {
    border-bottom: none;
}


/* ==========================================================
   ALTERNATE ROW
========================================================== */

.compare-table tbody tr:nth-child(even) {
    background: #f8fafc;
}


/* ==========================================================
   HOVER
========================================================== */

.compare-table tbody tr:hover {
    background: #eff6ff;
}


/* ==========================================================
   DAY COLUMN
========================================================== */

.compare-table .compare-day {
    width: 70px;

    background: #f8fafc;

    color: #2563eb;

    font-weight: 700;
}


/* ==========================================================
   RESULT
========================================================== */

.compare-table .compare-result {
    color: #334155;

    font-size: 16px;

    font-weight: 800;
}


/* ==========================================================
   NO RESULT
========================================================== */

.compare-table .compare-no-result {
    color: #94a3b8;

    font-weight: 500;
}


/* ==========================================================
   VIEW MORE / VIEW LESS
========================================================== */

.compare-view-more-wrap {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    margin-top: 16px;

    box-sizing: border-box;
}


.compare-view-more {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    min-height: 44px;

    padding: 0 20px;

    border: none;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


.compare-view-more:hover {
    background: #1d4ed8;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .18);
}


.compare-view-more:active {
    transform: translateY(0);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

    .compare-fields {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .compare-results-title {
        font-size: 25px;
    }


    .compare-table {
        min-width: 550px;
    }


    .compare-table th {
        padding: 12px 7px;

        font-size: 14px;
    }


    .compare-table td {
        padding: 9px 6px;

        font-size: 14px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .game-compare-section {
        padding: 10px 0 35px;
    }


    /* ------------------------------------------------------
       FORM
    ------------------------------------------------------ */

    .compare-form {
        width: 100%;

        margin-top: 20px;

        padding: 16px;

        border-radius: 16px;

        box-sizing: border-box;
    }


    .compare-market-list {
        gap: 12px;
    }


    .compare-market-row {
        width: 100%;

        padding: 15px;

        border-radius: 12px;

        box-sizing: border-box;
    }


    .compare-market-header {
        margin-bottom: 13px;
    }


    .compare-market-number {
        font-size: 13px;
    }


    .compare-fields {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .compare-field {
        width: 100%;

        min-width: 0;
    }


    .compare-field select {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        height: 46px;

        padding-left: 13px;
        padding-right: 35px;

        font-size: 14px;

        box-sizing: border-box;
    }


    .compare-actions {
        flex-direction: column;

        align-items: stretch;

        gap: 10px;
    }


    .compare-add-market,
    .compare-submit-button {
        width: 100%;

        max-width: 100%;

        min-height: 46px;

        box-sizing: border-box;
    }


    /* ------------------------------------------------------
       RESULT HEADER
    ------------------------------------------------------ */

    .compare-results-section {
        margin-top: 25px;

        padding: 25px 0 5px;
    }


    .compare-results-header {
        margin-bottom: 20px;

        padding: 0 10px;
    }


    .compare-results-title {
        width: 100%;

        margin: 9px 0 8px;

        font-size: 24px;

        line-height: 1.25;

        text-align: center;
    }


    .compare-results-description {
        padding: 0 8px;

        font-size: 14px;

        line-height: 1.55;

        text-align: center;
    }


    /* ------------------------------------------------------
       MARKET NAME
    ------------------------------------------------------ */

    .compare-desktop-name {
        display: none;
    }


    .compare-mobile-name {
        display: inline;

        line-height: 1.15;
    }


    /* ------------------------------------------------------
       TABLE
    ------------------------------------------------------ */

    .compare-table-wrapper {
        width: 100%;

        overflow: hidden;

        border-radius: 12px;

        box-sizing: border-box;
    }


    .compare-table {
        width: 100%;

        min-width: 0;

        table-layout: fixed;

        border-collapse: collapse;
    }


    .compare-table th {
        padding: 10px 3px;

        font-size: 11px;

        line-height: 1.25;

        word-break: break-word;

        overflow-wrap: anywhere;
    }


    .compare-table th small {
        display: block;

        margin-top: 3px;

        font-size: 8px;

        line-height: 1.2;

        word-break: break-word;
    }


    .compare-table td {
        height: 40px;

        padding: 7px 2px;

        font-size: 11px;

        word-break: break-word;

        overflow-wrap: anywhere;
    }


    /* ------------------------------------------------------
       DAY COLUMN
    ------------------------------------------------------ */

    .compare-table th:first-child,
    .compare-table td.compare-day {
        width: 42px;
    }


    /* ------------------------------------------------------
       RESULT COLUMNS
    ------------------------------------------------------ */

    .compare-table th:not(:first-child),
    .compare-table td.compare-result {
        width: auto;
    }


    .compare-table .compare-result {
        font-size: 12px;

        font-weight: 800;
    }


    /* ------------------------------------------------------
       VIEW MORE
    ------------------------------------------------------ */

    .compare-view-more-wrap {
        margin-top: 14px;
    }


    .compare-view-more {
        width: 100%;

        max-width: 220px;

        min-height: 44px;

        font-size: 14px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 400px) {

    .compare-form {
        padding: 13px;

        border-radius: 14px;
    }


    .compare-market-row {
        padding: 13px;

        border-radius: 11px;
    }


    .compare-market-number {
        font-size: 12px;
    }


    .compare-remove-market {
        padding: 6px 10px;

        font-size: 12px;
    }


    .compare-results-header {
        padding: 0 7px;
    }


    .compare-results-title {
        font-size: 22px;
    }


    .compare-results-description {
        font-size: 13px;
    }


    .compare-table-wrapper {
        overflow: hidden;

        border-radius: 10px;
    }


    .compare-table {
        width: 100%;

        min-width: 0;
    }


    .compare-table th {
        padding: 8px 2px;

        font-size: 10px;
    }


    .compare-table th small {
        font-size: 7px;
    }


    .compare-table td {
        padding: 7px 1px;

        font-size: 10px;
    }


    .compare-table .compare-day {
        width: 36px;
    }


    .compare-table .compare-result {
        font-size: 11px;
    }


    .compare-view-more {
        max-width: 200px;

        min-height: 42px;

        font-size: 13px;
    }

}


/* ==========================================================
   VERY SMALL SCREENS
========================================================== */

@media (max-width: 350px) {

    .compare-form {
        padding: 10px;
    }


    .compare-market-row {
        padding: 11px;
    }


    .compare-table th {
        padding: 7px 1px;

        font-size: 9px;
    }


    .compare-table th small {
        font-size: 6px;
    }


    .compare-table td {
        padding: 6px 1px;

        font-size: 9px;
    }


    .compare-table .compare-day {
        width: 34px;
    }


    .compare-table .compare-result {
        font-size: 10px;
    }

}

/*==================================================
GAME SEARCH SECTION
==================================================*/

.game-search-section{

    width: 100%;
    padding: 70px 20px 50px;
    background: #f8fafc;
    box-sizing: border-box;
}


/*==================================================
SECTION HEADER
==================================================*/

.game-search-section .section-header{

    width: 100%;
    max-width: 900px;

    margin: 0 auto 35px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

}


.game-search-section .section-title{

   margin: 0;

    color: #0f172a;

    font-size: 36px;
    font-weight: 800;

    line-height: 1.2;

    text-align: center;

}


.game-search-section .section-tag{

   display: inline-block;

    margin-bottom: 12px;

    color: #2563eb;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;

    line-height: 1.4;

}


.game-search-section .section-description{

     width: 100%;
    max-width: 760px;

    margin: 14px auto 0;

    color: #64748b;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.7;

    text-align: center;

}


/*==================================================
SEARCH FORM
==================================================*/

.search-form{

    width:100%;

    max-width:900px;

    margin:30px auto 0;

    padding:25px;

    background:#ffffff;

    border:1px solid #e2e8f0;

    border-radius:18px;

    box-shadow:
        0 12px 35px
        rgba(15,23,42,.06);

}


/*==================================================
SEARCH INPUT GROUP
==================================================*/

.search-input-group{

    display:grid;

    grid-template-columns:
        1fr auto;

    grid-template-rows:auto 48px;

    column-gap:15px;

    align-items:end;

}


.search-input-group label{

    grid-column:1 / -1;

    margin-bottom:8px;

    color:#334155;

    font-size:15px;

    font-weight:700;

}


/*==================================================
INPUT
==================================================*/

.search-input-group input{

    width:100%;

    height:48px;

    padding:0 15px;

    border:1px solid #cbd5e1;

    border-radius:10px;

    background:#ffffff;

    color:#0f172a;

    font-family:inherit;

    font-size:15px;

    outline:none;

    transition:.25s ease;

    box-sizing:border-box;

}


.search-input-group input::placeholder{

    color:#94a3b8;

}


.search-input-group input:hover{

    border-color:#93c5fd;

}


.search-input-group input:focus{

    border-color:#2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37,99,235,.10);

}


/*==================================================
SEARCH BUTTON
==================================================*/

.search-submit-button{

    min-width:125px;

    height:48px;

    padding:0 22px;

    border:none;

    border-radius:10px;

    background:#2563eb;

    color:#ffffff;

    font-family:inherit;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.25s ease;

}


.search-submit-button:hover{

    background:#1d4ed8;

    transform:translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(37,99,235,.20);

}


.search-submit-button:active{

    transform:translateY(0);

}


/*==================================================
SEARCH RESULTS
==================================================*/

.search-results{

    width:100%;

    max-width:1100px;

    margin:25px auto 0;

}


.search-results:empty{

    display:none;

}


/*==================================================
TABLET
==================================================*/

@media(max-width:992px){

    .search-form{

        max-width:850px;

    }


    .search-results{

        max-width:100%;

    }

}


/*==================================================
MOBILE
==================================================*/

@media(max-width:768px){

    .game-search-section{

        padding:10px 0 35px;

    }


    .search-form{

        margin-top:20px;

        padding:18px;

        border-radius:14px;

    }


    .search-input-group{

        display:flex;

        flex-direction:column;

        align-items:stretch;

        gap:9px;

    }


    .search-input-group label{

        margin:0;

        font-size:14px;

    }


    .search-input-group input{

        height:46px;

        font-size:14px;

    }


    .search-submit-button{

        width:100%;

        height:46px;

        font-size:14px;

    }


    .search-results{

        margin-top:20px;

    }

}


/*==================================================
SMALL MOBILE
==================================================*/

@media(max-width:400px){

    .search-form{

        padding:15px;

    }


    .search-input-group input{

        height:44px;

    }


    .search-submit-button{

        height:44px;

    }

}
/*==================================================
SEARCH RESULTS
==================================================*/

.search-results{

    width:100%;

    max-width:1100px;

    margin:30px auto 0;

}


/*==================================================
SEARCH SUMMARY
==================================================*/

.search-result-summary{

    width:100%;

    padding:22px 25px;

    margin-bottom:15px;

    background:#ffffff;

    border:1px solid #e2e8f0;

    border-radius:16px;

    box-shadow:
        0 10px 30px
        rgba(15,23,42,.05);

    text-align:center;

}


.search-result-summary h3{

    margin:0 0 7px;

    color:#0f172a;

    font-size:22px;

    font-weight:700;

    line-height:1.4;

}


.search-result-summary p{

    margin:0;

    color:#64748b;

    font-size:15px;

    line-height:1.6;

}


.search-result-summary strong{

    color:#2563eb;

    font-weight:800;

}


/*==================================================
SORT CONTROLS
==================================================*/

.search-sort-controls{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    gap:10px;

    margin-bottom:15px;

    padding:14px 16px;

    background:#ffffff;

    border:1px solid #e2e8f0;

    border-radius:14px;

}


.search-sort-controls label{

    margin-right:3px;

    color:#475569;

    font-size:14px;

    font-weight:700;

}


.search-sort-controls select{

    height:42px;

    padding:0 35px 0 12px;

    border:1px solid #cbd5e1;

    border-radius:9px;

    background:#ffffff;

    color:#0f172a;

    font-family:inherit;

    font-size:14px;

    font-weight:600;

    outline:none;

    cursor:pointer;

    transition:.25s ease;

}


.search-sort-controls select:hover{

    border-color:#93c5fd;

}


.search-sort-controls select:focus{

    border-color:#2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37,99,235,.10);

}


/*==================================================
SEARCH TABLE WRAPPER
==================================================*/

.search-table-wrapper{

    width:100%;

    overflow:hidden;

    background:#ffffff;

    border:1px solid #e2e8f0;

    border-radius:16px;

    box-shadow:
        0 12px 35px
        rgba(15,23,42,.07);

}


/*==================================================
SEARCH TABLE
==================================================*/

.search-results-table{

    width:100%;

    border-collapse:collapse;

    table-layout:fixed;

}


/*==================================================
TABLE HEADER
==================================================*/

.search-results-table thead{

    background:#2563eb;

}


.search-results-table th{

    padding:15px 12px;

    background:#2563eb;

    color:#ffffff;

    border-right:
        1px solid
        rgba(255,255,255,.15);

    border-bottom:
        1px solid
        rgba(255,255,255,.15);

    text-align:center;

    font-size:15px;

    font-weight:700;

}


.search-results-table th:last-child{

    border-right:none;

}


/*==================================================
TABLE BODY
==================================================*/

.search-results-table td{

    padding:13px 10px;

    border-right:1px solid #e2e8f0;

    border-bottom:1px solid #e2e8f0;

    color:#334155;

    text-align:center;

    font-size:15px;

    font-weight:600;

}


.search-results-table td:last-child{

    border-right:none;

}


.search-results-table tbody tr:last-child td{

    border-bottom:none;

}


/*==================================================
ALTERNATE ROW
==================================================*/

.search-results-table tbody tr:nth-child(even){

    background:#f8fafc;

}


.search-results-table tbody tr:hover{

    background:#eff6ff;

}


/*==================================================
RESULT NUMBER
==================================================*/

.search-results-table
.search-result-number{

    color:#2563eb;

    font-size:17px;

    font-weight:800;

}


/*==================================================
ERROR / EMPTY / LOADING
==================================================*/

.search-error,
.search-loading,
.search-no-results{

    width:100%;

    padding:25px;

    margin-top:20px;

    background:#ffffff;

    border:1px solid #e2e8f0;

    border-radius:14px;

    color:#64748b;

    text-align:center;

    font-size:15px;

    line-height:1.7;

}


.search-error{

    color:#dc2626;

    background:#fff7f7;

    border-color:#fecaca;

}


.search-loading{

    color:#2563eb;

    background:#eff6ff;

    border-color:#bfdbfe;

}


/*==================================================
VIEW MORE
==================================================*/

.search-load-more-wrapper{

    width:100%;

    padding:0;

    background:#ffffff;

    border-top:1px solid #e2e8f0;

}


.search-view-more{

    width:100%;

    min-height:48px;

    border:none;

    background:#ffffff;

    color:#2563eb;

    font-family:inherit;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.25s ease;

}


.search-view-more:hover{

    background:#eff6ff;

    color:#1d4ed8;

}


/*==================================================
SEARCH FORM BUTTON LOADING
==================================================*/

.search-submit-button:disabled{

    opacity:.65;

    cursor:wait;

    transform:none;

}


/*==================================================
TABLET
==================================================*/

@media(max-width:992px){

    .search-results{

        max-width:100%;

    }


    .search-result-summary{

        padding:20px;

    }


    .search-results-table th{

        padding:13px 8px;

        font-size:14px;

    }


    .search-results-table td{

        padding:12px 7px;

        font-size:14px;

    }

}


/*==================================================
MOBILE
==================================================*/

@media(max-width:768px){

    .search-results{

        margin-top:20px;

    }


    .search-result-summary{

        padding:18px 15px;

        border-radius:13px;

    }


    .search-result-summary h3{

        font-size:19px;

    }


    .search-result-summary p{

        font-size:14px;

    }


    /*----------------------------------------------
    SORT CONTROLS
    ----------------------------------------------*/

    .search-sort-controls{

        display:grid;

        grid-template-columns:1fr 1fr;

        gap:9px;

        padding:13px;

        border-radius:12px;

    }


    .search-sort-controls label{

        grid-column:1 / -1;

        margin:0;

        font-size:13px;

    }


    .search-sort-controls select{

        width:100%;

        height:42px;

        padding-left:10px;

        padding-right:25px;

        font-size:12px;

    }


    /*----------------------------------------------
    TABLE
    ----------------------------------------------*/

    .search-table-wrapper{

        border-radius:12px;

        overflow:hidden;

    }


    .search-results-table{

        width:100%;

        min-width:0;

        table-layout:fixed;

    }


    .search-results-table th{

        padding:10px 4px;

        font-size:12px;

        line-height:1.3;

        word-break:break-word;

    }


    .search-results-table td{

        padding:10px 4px;

        font-size:12px;

        line-height:1.3;

        word-break:break-word;

    }


    .search-results-table
    .search-result-number{

        font-size:13px;

    }


    /*----------------------------------------------
    VIEW MORE
    ----------------------------------------------*/

    .search-view-more{

        min-height:45px;

        font-size:14px;

    }


    /*----------------------------------------------
    STATUS MESSAGES
    ----------------------------------------------*/

    .search-error,
    .search-loading,
    .search-no-results{

        padding:20px 15px;

        font-size:14px;

    }

}


/*==================================================
SMALL MOBILE
==================================================*/

@media(max-width:400px){

    .search-result-summary{

        padding:16px 12px;

    }


    .search-result-summary h3{

        font-size:18px;

    }


    .search-result-summary p{

        font-size:13px;

    }


    .search-sort-controls{

        padding:10px;

    }


    .search-sort-controls select{

        height:40px;

        font-size:11px;

    }


    .search-results-table th{

        padding:9px 3px;

        font-size:11px;

    }


    .search-results-table td{

        padding:9px 3px;

        font-size:11px;

    }


    .search-results-table
    .search-result-number{

        font-size:12px;

    }

}

/* ==========================================================
   SEARCH MOBILE WIDTH FIX
========================================================== */

@media (max-width: 768px) {

    .game-search-section,
    .game-search-section .container,
    .game-search-section .container-fluid {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }


    .game-search-section .search-form,
    .game-search-section .search-box,
    .game-search-section form {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin-left: 0;
        margin-right: 0;

        box-sizing: border-box;
    }


    .game-search-section input,
    .game-search-section .search-input {
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        box-sizing: border-box;

        margin-left: 0;
        margin-right: 0;
    }


    .game-search-section button,
    .game-search-section .search-button {
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;
    }

}
/* ==========================================================
   SITE FOOTER
========================================================== */

.site-footer {
    width: 100%;
    margin-top: 40px;

    padding: 28px 20px 20px;

    background: #ffffff;

    border-top: 1px solid #dbe3ee;

    color: #64748b;

    box-sizing: border-box;
}


/* ==========================================================
   FOOTER CONTAINER
========================================================== */

.site-footer .container {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* ==========================================================
   BRAND
========================================================== */

.footer-brand {
    display: none;
}


/* ==========================================================
   FOOTER SECTIONS
========================================================== */

.footer-section {
    width: 100%;

    margin: 0;

    box-sizing: border-box;
}


.footer-section h3 {
    margin: 0 0 13px;

    color: #2563eb;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: .5px;

    text-transform: uppercase;
}


/* ==========================================================
   DESKTOP FOOTER GRID
========================================================== */

@media (min-width: 769px) {

    .site-footer .container {
        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        column-gap: 55px;

        row-gap: 30px;
    }


    .footer-section {
        min-width: 0;
    }


    .footer-tags {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;
    }


    .footer-tags a {
        display: block;

        padding: 0;

        margin: 0 0 10px;

        background: transparent;

        border: none;

        border-radius: 0;

        color: #64748b;

        text-decoration: none;

        font-size: 18px;

        font-weight: 400;

        line-height: 1.4;

        transition:
            color .2s ease;
    }


    .footer-tags a:hover {
        background: transparent;

        border: none;

        color: #2563eb;

        transform: none;
    }


    /* ------------------------------------------------------
       DISCLAIMER
    ------------------------------------------------------ */

    .footer-disclaimer {
        grid-column: 1 / -1;

        width: 100%;

        margin-top: 5px;

        padding-top: 18px;

        border-top: none;

        color: #64748b;

        font-size: 16px;

        line-height: 1.6;

        text-align: center;
    }


    .footer-disclaimer strong {
        color: #64748b;

        font-weight: 600;
    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) and (min-width: 769px) {

    .site-footer .container {
        column-gap: 30px;
    }


    .footer-section h3 {
        font-size: 16px;
    }


    .footer-tags a {
        font-size: 14px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .site-footer {
        margin-top: 30px;

        padding: 25px 8px 15px;

        border-top: 3px solid #155a8a;
    }


    .site-footer .container {
        width: 100%;

        display: block;
    }


    /* ------------------------------------------------------
       FOOTER SECTION
    ------------------------------------------------------ */

    .footer-section {
        width: 100%;

        margin-bottom: 20px;
    }


    .footer-section h3 {
        width: 100%;

        margin: 0 0 9px;

        color: #2563eb;

        font-size: 15px;

        font-weight: 700;

        line-height: 1.3;

        letter-spacing: .2px;
    }


    /* ------------------------------------------------------
       TWO COLUMN LINKS
    ------------------------------------------------------ */

    .footer-tags {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 18px;

        row-gap: 6px;

        width: 100%;
    }


    .footer-tags a {
        display: block;

        width: 100%;

        padding: 0;

        margin: 0;

        background: transparent;

        border: none;

        border-radius: 0;

        color: #64748b;

        text-decoration: none;

        font-size: 8px;

        font-weight: 400;

        line-height: 1.45;

        white-space: normal;

        box-sizing: border-box;

        transition: color .2s ease;
    }


    .footer-tags a:hover {
        background: transparent;

        border: none;

        color: #2563eb;

        transform: none;
    }


    /* ------------------------------------------------------
       DISCLAIMER
    ------------------------------------------------------ */

    .footer-disclaimer {
        width: 100%;

        margin-top: 8px;

        padding-top: 10px;

        border-top: none;

        color: #64748b;

        font-size: 7px;

        line-height: 1.45;

        text-align: center;

        box-sizing: border-box;
    }


    .footer-disclaimer strong {
        color: #64748b;

        font-weight: 600;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 400px) {

    .site-footer {
        padding-left: 6px;
        padding-right: 6px;
    }


    .footer-section {
        margin-bottom: 18px;
    }


    .footer-section h3 {
        font-size: 18px;

        margin-bottom: 7px;
    }


    .footer-tags {
        column-gap: 14px;

        row-gap: 5px;
    }


    .footer-tags a {
        font-size: 16px;

        line-height: 1.4;
    }


    .footer-disclaimer {
        font-size: 13px;

        line-height: 1.4;
    }

}


/* ==========================================================
   FLOATING ACTION BUTTONS
========================================================== */

.floating-actions {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 9999;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;
}


.floating-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #2563eb;

    color: #ffffff;

    font-size: 17px;

    cursor: pointer;

    box-shadow:
        0 6px 18px rgba(15, 23, 42, .18);

    transition:
        background .2s ease,
        transform .2s ease;
}


.floating-btn:hover {
    background: #1d4ed8;

    transform: translateY(-2px);
}


/* ==========================================================
   REFRESH
========================================================== */

.refresh-btn {
    background: #2563eb;
}


.refresh-btn.loading i {
    animation:
        footerRefreshSpin .8s linear infinite;
}


@keyframes footerRefreshSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* ==========================================================
   SCROLL TOP
========================================================== */

.scroll-top-btn {
    background: #0f172a;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);
}


.scroll-top-btn.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.scroll-top-btn:hover {
    background: #1e293b;
}


/* ==========================================================
   MOBILE FLOATING BUTTONS
========================================================== */

@media (max-width: 768px) {

    .floating-actions {
        right: 12px;

        bottom: 12px;

        gap: 8px;
    }


    .floating-btn {
        width: 44px;
        height: 44px;

        font-size: 15px;
    }

}
