:root {
    --order-limit-default: #000000;
    --order-limit-1: #db3434;
    --order-limit-2: #00cfff;
    --order-limit-3: #7fdb34;
    --order-limit-4: #3498db;
    --order-limit-5: #3439db;
    --order-limit-6: #db3434;
    --order-limit-7: #00cfff;
    --order-limit-8: #7fdb34;
    --order-limit-9: #3498db;
    --order-limit-10: #3439db;
}

.svb-bonus-display {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 10px;

    .svb-bonus-image {
        display: flex;
        align-items: center;

        img {
            width: 100% !important;
            max-width: 20px !important;
            height: auto !important;
            max-height: 20px;
            cursor: pointer;
        }
    }

    .svb-bonus-excerpt {
        background: #bbb;
        padding: 3px;
    }
}

#svb-bonus-table_wrapper {
    #svb-bonus-table_length {
        width: 100%;
        max-width: 200px;
        float: left;

        select {
            height: 30px;
        }

        label {
            display: flex;
            gap: 5px;
        }
    }

    #svb-bonus-table_filter {
        width: 100%;
        max-width: 300px;
        float: right;

        label {
            display: flex;
            gap: 5px;

            input {
                max-width: 150px;
            }
        }
    }

    th {
        text-align: center;
    }

    #svb-bonus-table {
        margin-bottom: 10px;
    }

    .status-td,
    .status-td span,
    td i {
        color: white !important;
    }
}

#svb-bonus-table_info {
    width: 30%;
    float: left;
    text-align: left;
}

#svb-bonus-table_paginate {
    width: 100%;
    max-width: 300px;
    float: right;
    display: flex;
    text-align: end;
    justify-content: end;
    gap: 5px;
}

.svb-bonus-table_info {
    width: 100%;
    max-width: 300px;
    float: right;
}

.sdb_bonuses-container,
.sdb_bonuses-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
}

.sdb_bonuses-container {
    width: 90%;
    max-width: 1200px;
    margin: 10px auto 20px;
    text-align: center;
}

.sdb_title {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #222;
}

.sdb_bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px 2%;
}

div.sdb_bonus-card {
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    max-width: 280px;
    color: white !important;
    padding: 20px 10px !important;
    box-shadow: -5px 6px 15px 1px #626262 !important;
    outline: none;
    border-radius: 0px !important;
}

.rejected-req,
.sdb-req-rejected {
    background: #9a0000;
}

.sdb_bonus-card .btn.btn-primary {
    border-radius: 4px !important;
    padding: 8px 13px;
    margin: 5px 0px;
    background: #259474;
    font-weight: normal;
    font-size: 12px;
    box-shadow: -4px 3px 7px 1px gray;
}

div.sdb_bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.sdb_bonus-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white !important;
}

.sdb_bonus-detail,
.sdb_bonus-status {
    font-size: 1rem;
    margin: 5px 0;
}

.sdb_bonuses-con {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;

    .sdb-bonus-btn {
        padding: 7px 10px;
        min-width: 90px;
        font-size: 15px;
        font-weight: 400;
        border-radius: 2px;
    }

    .sdb-bonus-btn:hover {
        opacity: 1 !important;
    }
}

.sdb-sub-card {
    display: flex;
    justify-content: space-between;

    p {
        margin: 0px !important;
    }
}

.sdb_bonus-detail {
    cursor: pointer;
    background: transparent;
    box-shadow: none !important;
    font-weight: normal;
}

div.is-sdb-highlight {
    filter: blur(1px);
    opacity: .5;
    display: none;

    .sdb_bonus-detail {
        cursor: auto;
    }
}

.sdb-bonus-btn.is-sdb-highlight {
    background: transparent;
    color: #059473;
    box-shadow: none;
    border: 1px solid #059473;
}

.sdb-bonus-btn.is-sdb-highlight:hover {
    color: white;
    background: #059473;
}

tr.is-sdb-highlight {
    display: none;
}

.progress-container {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.progress-container .monthly-progress {
    width: 100%;
    text-align: left;
}

.progress-con {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 20px 0px;
    max-width: 700px;
}

.sdb-progress-btn,
.sdb-progress-btn:hover,
.sdb-progress-btn:focus {
    padding: 5px;
    box-shadow: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    overflow: hidden;
    background: white;
    border: 1px solid gray;
    z-index: 2;
}

.sdb-progress-btn:hover {
    opacity: 1;
}

.sdb-img {
    width: 100%;
    border-radius: 50%;
    height: 100%;
}

.progress-container hr {
    width: 100%;
    background: lightgray;
    height: 1px;
    border: none;
    margin: 30px auto;
}

.progress-data {
    display: flex;
    gap: 50px 2%;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;

    .progress_bar-container {
        width: 32%;
        min-width: 300px;

        span {
            font-size: 10px;
            text-align: left;
        }

        .progress_bar-data {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .progress-bar-single {
            display: flex;
            gap: 5px;
        }

        .progress-end {
            min-width: 35px;
        }

        .progress-bar-con {
            width: 100%;
            position: relative;
            background-color: #f3f3f3;
            border: 1px solid #ccc;
            border-radius: 15px;
            overflow: hidden;
            height: 15px;
            margin: auto;
        }

        .progress-percentage {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 9px;
            color: black;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
        }

        .progress-info-title {
            margin: 0px;
            font-size: 9px;
            text-align: left;
        }

        .progress-completed {
            height: 100%;
            background-color: #06d206;
        }
    }

    .sd_bonus_name {
        margin-bottom: 0px;
        margin-top: 20px;
        font-size: 12px;
        text-align: left;
        color: #686868;
    }
}

.progress-bonus-note {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
    font-weight: 700;
}

.progress-con::before {
    content: "";
    position: absolute;
    top: 40%;
    left: 0px;
    right: 0px;
    height: 2px;
    background: lightgray;
    z-index: 1;
}

.sdb-active,
.sdb-active:focus,
.sdb-active:hover {
    border: 3px solid #059473 !important;
}

.sdb-progress-con {
    display: flex;
    flex-direction: column;
}

.sdb-bonus-req {
    border-radius: 0px;
    box-shadow: -5px 3px 15px 1px #626262 !important;
    padding: 20px 10px;

    * {
        color: white;
    }
}

.bonus_statics {
    margin-bottom: 7%;
}

.sdb-req-total {
    background: #2096e7;
}

.sdb-req-pending,
.pending-req {
    background: #fd461c;
}

.sdb-req-paid,
.approved-req {
    background: #318633;
}

@media (max-width: 768px) {
    .sdb_title {
        font-size: 1.5rem;
    }

    .sdb_bonus-card {
        padding: 15px;
    }

    .sdb_bonus-title {
        font-size: 1.3rem;
    }

    .sdb_bonus-detail,
    .sdb_bonus-status {
        font-size: 0.9rem;
    }

    .progress-data {
        justify-content: center;
    }
}

.sdb-progress-btn,
.sdb-progress-btn:hover,
.sdb-progress-btn:active {
    border: 3px solid var(--order-limit-default);
}

.order-limit-1 {
    border-color: var(--order-limit-1);
}

.order-limit-2 {
    border-color: var(--order-limit-2);
}

.order-limit-3 {
    border-color: var(--order-limit-3);
}

.order-limit-4 {
    border-color: var(--order-limit-4);
}

.order-limit-5 {
    border-color: var(--order-limit-5);
}

.order-limit-6 {
    border-color: var(--order-limit-6);
}

.order-limit-7 {
    border-color: var(--order-limit-7);
}

.order-limit-8 {
    border-color: var(--order-limit-8);
}

.order-limit-9 {
    border-color: var(--order-limit-9);
}

.order-limit-10 {
    border-color: var(--order-limit-10);
}

div.order-limit-1 {
    background-color: var(--order-limit-1) !important;
}

div.order-limit-2 {
    background-color: var(--order-limit-2) !important;
}

div.order-limit-3 {
    background-color: var(--order-limit-3) !important;
}

div.order-limit-4 {
    background-color: var(--order-limit-4) !important;
}

div.order-limit-5 {
    background-color: var(--order-limit-5) !important;
}

div.order-limit-6 {
    background-color: var(--order-limit-6) !important;
}

div.order-limit-7 {
    background-color: var(--order-limit-7) !important;
}

div.order-limit-8 {
    background-color: var(--order-limit-8) !important;
}

div.order-limit-9 {
    background-color: var(--order-limit-9) !important;
}

div.order-limit-10 {
    background-color: var(--order-limit-10) !important;
}

.sdb-progress-all {
    border: none;
}


@media (max-width: 768px) {
    .svb-bonus-table_info {
        font-size: 12px;
        width: 67%;
    }

    #svb-bonus-table_paginate {
        width: 25%;
        gap: 4px;
        font-size: 12px;
    }
}


.progress-bonus-statics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.sdb-static-con {
    position: relative;
    background: whitesmoke;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
    max-width: 190px;
    border: 1px solid lightgray;
}

.sdb-static-con:hover {
    transform: translateY(-5px);
}

.sdb-price-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 40px !important;
    max-height: 40px;
}

.sdb-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

.sdbp-price {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
}

@media (max-width: 480px) {
    .progress-bonus-statics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.progress-bonus-note .sdbp_note {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0px;
    line-height: 1.2;
}