/* font */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&display=swap');

/* ====== GLOBAL ====== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1f1f29;
    color: #fff;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.oxanium {
    font-family: "Oxanium", sans-serif;

}

/* .container {
    max-width: 1100px;
} */


.bg-yellow {
    background: #ffc107;
}

.bg-red {
    background: #ff4b4b;
}

.bg-green {
    background: #28a745;
}

.text-yellow,
.order-info .waiting {
    color: #ffc107;
}

.text-red,
.order-info .expired {
    color: #ff4b4b;
}

.text-green,
.order-info .success {
    color: #28a745;
}

.btn-qr {
    background: rgb(30, 119, 188);
    color: rgb(255, 255, 255);
    border-radius: 20px;
    text-decoration: none;
}

.expired,
.waiting,
.success {
    text-align: start;
    font-size: 16px;
    padding: 0;
}


/* ====== CARD & SECTION ====== */
.card-1 {
    background: #262631;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px 0px #5b5c5f;
}

.gradient-text1 {
    background: linear-gradient(270deg, rgb(249, 45, 45), rgb(30, 119, 188));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.section-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

/* ====== GAME HEADER ====== */
.game-logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

.game-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.game-desc {
    color: #bdbdbd;
    font-size: 0.9rem;
}

/* ====== NOMINAL BOX ====== */
.nominal-box {
    background: #32323e;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nominal-box img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.nominal-box:hover,
.nominal-box.active {
    border-color: #00bcd4;
}

.nominal-box.active {
    background: #383845;
}

.nominal-price {
    font-weight: 600;
}

.nominal-desc {
    color: #bdbdbd;
    font-size: 0.9rem;
}













.icon-meleduakkk {
    gap: 10px 0;
    grid-template-columns: repeat(2, 1fr);
}

.icon-meleduakkk img {
    filter: invert(1);
    width: 20px;
}





.form-control {
    background: #fff;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    padding: 8px;
    padding-left: 18px;
}

.section-title h5 {
    color: #ffe066;
}

.text-yellow {
    color: #ffe066 !important;
}

.nominal-card {
    position: relative;
    display: block;
    cursor: pointer;
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
}

.nominal-card small {
    font-size: 12px;


}

.nominal-card .nominal-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nominal-card .card-inner {
    background: #33333f;
    border-radius: 16px;
    padding: 16px 18px 16px 12px;
    min-height: 80px;
    box-shadow: 0 2px 8px #42464d33;
    transition: border 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.nominal-card .badge {
    font-size: 12px;
    border-radius: 8px 0 0 0;
    padding: 4px 8px;
}

.nominal-card .card-inner::before {
    content: "";
    display: none;
}

.nominal-card .nominal-check:checked+.card-inner {
    border: 2px solid #1e77bc;
    box-shadow: 0 0 0 3px #1e77bc;
}

.nominal-card .nominal-check:focus+.card-inner {
    border: 2px solid #1e77bc;
    box-shadow: 0 0 0 3px #1e77bc;
}

.payment-card {
    position: relative;
    display: block;
    cursor: pointer;
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
}

.payment-card .payment-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-card .card-inner {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px 18px 16px;
    min-height: 80px;
    box-shadow: 0 2px 8px #22242833;
    transition: border 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.payment-card .payment-check:checked+.card-inner {
    border: 2px solid #3fa7ff;
    box-shadow: 0 0 0 3px #3fa7ff55;
}

.payment-card .payment-check:focus+.card-inner {
    border: 2px solid #3fa7ff;
    box-shadow: 0 0 0 3px #3fa7ff55;
}

.payment-card .logo {
    height: 24px;
    margin-bottom: 8px;
}


/* ====== GRID ====== */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 991px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .btn-1,
    .btn-2 {
        padding: 12px 16px !important;
    }

    .inner-box img {
        max-width: 80px;
    }

    .icon-meleduakkk {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ====== ACCORDION ====== */
.accordion-box {
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.accordion-box p {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.accordion-btn {
    width: 100%;
    background: #262631;
    color: #fff;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-btn:hover {
    background: #3b3b4a;
}

.accordion-btn::after {
    content: "\25BC";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-btn.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    background: #262631;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 10px;
    line-height: 1.6;
    font-size: 15px;
}

.accordion-btn.active+.accordion-content {
    display: block;
}






























/* ====== INNER BOX ====== */
.inner-box {
    background: #fff;
    width: 100%;
    padding: 16px 16px 12px;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.inner-box img {
    max-width: 100px;
    margin-bottom: 10px;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-size: 12px;
    margin: 0;
}

.truncate2 {
    font-size: 12px;
    color: #32323e;
}

/* ====== ORDER PAGE ====== */
.order-body {
    padding: 32px 0 50px;
}

.status-page {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.status-left {
    flex: 1;
    text-align: center;
}

.status-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Status Icon */
.status-icon .circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #ff4b4b, #b81c1c);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cross {
    font-size: 80px;
    font-weight: 600;
    color: #fff;
}

.status-message {
    margin-top: 10px;
    line-height: 1.4;
}

/* Order Info */
.order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px 20px;
    font-size: 0.9rem;
}

.order-info span {
    color: #bdbdbd;
    font-size: 0.8rem;
}

.order-info p {
    margin: 4px 0 0;
    font-weight: 500;
}


/* Game Box */

.game-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.game-header img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.game-detail {
    margin-top: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    border-top: 1px solid #333;
    padding-top: 12px;
    margin-top: 10px;
}

.total {
    background: linear-gradient(270deg, rgb(249, 45, 45), rgb(30, 119, 188));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

/* ====== COUNTDOWN ====== */
.clock {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.clock .time-block {
    color: #efefef;
    background: linear-gradient(163.42deg, rgb(50, 50, 62) -50%, rgba(255, 255, 255, 0) 105.46%);
    border: 1px solid rgba(203, 203, 203, 0.5);
    border-radius: 16px;
    margin: 8px;
    padding: 1.3rem;
    text-align: center;
}

.clock .time-block .time {
    font-size: 2.25rem;
}


.expired.show,
.waiting.show {
    display: block;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .status-page {
        flex-direction: column;
        align-items: center;
    }

    .status-left {
        order: -1;
    }

    .status-icon .circle {
        width: 140px;
        height: 140px;
    }

    .cross {
        font-size: 60px;
    }

    .order-info {
        grid-template-columns: 1fr;
    }
}







.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.flex-4 {
    flex: 4;
}

.flex-5 {
    flex: 5;
}

.flex-6 {
    flex: 6;
}

.flex-7 {
    flex: 7;
}

.flex-8 {
    flex: 8;
}

.flex-9 {
    flex: 9;
}

.flex-none {
    flex: none;
}

.flex-auto {
    flex: auto;
}

@media (min-width: 992px) {
    .flex-lg-1 {
        flex: 1;
    }

    .flex-lg-2 {
        flex: 2;
    }

    .flex-lg-3 {
        flex: 3;
    }

    .flex-lg-4 {
        flex: 4;
    }

    .flex-lg-5 {
        flex: 5;
    }

    .flex-lg-6 {
        flex: 6;
    }

    .flex-lg-7 {
        flex: 7;
    }

    .flex-lg-8 {
        flex: 8;
    }

    .flex-lg-9 {
        flex: 9;
    }

    .flex-lg-none {
        flex: none;
    }

    .flex-lg-auto {
        flex: auto;
    }
}

.order-body {
    min-height: 80vh;
}

#orderTable {
    border-collapse: separate;
    border-spacing: 0 15px;
    width: 100%;
}

#orderTable tbody tr {
    background: #2a2a3b;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#orderTable tbody td {
    border: none;
    padding: 18px 20px;
    vertical-align: middle;
    border-radius: 12px;
    background-color: transparent;
}

.order-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.order-left img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 15px;
    object-fit: cover;
}

.purchase-info {
    flex-grow: 1;
}

.purchase-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.purchase-info p {
    margin: 2px 0;
    color: #b5b5c3;
    font-size: 14px;
}

.order-date {
    font-size: 13px;
    color: #aaa;
    text-align: right;
}

.status-badge {
    display: flex;
    width: fit-content;
    padding: 4px 18px;
    line-height: normal;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.status-success {
    background: #23c503;
    /* hijau muda */
    color: #000000;
    /* hijau tua */
}

.status-pending {
    background: #fef9c3;
    /* kuning muda */
    color: #78350f;
    /* coklat tua */
}

.status-expired {
    background: #dc2626;
    /* merah terang */
    color: #ffffff;
    /* teks putih */
}


.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #fff !important;
    background: transparent !important;
    border: 1px solid #444 !important;
    border-radius: 6px;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #4f46e5 !important;
    color: #fff !important;
}

thead {
    display: none;
}

.purchase-info {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.info-badge {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.border-gray {
    border: 1px solid #313131;
}

.accordion-btn2 {
    width: 100%;
    background: #262631;
    color: #fff;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-btn2.active+.accordion-content {
    display: block;
}

.accordion-btn3.active+.accordion-content {
    display: block;
}

.accordion-btn3 {
    width: 100%;
    background: #262631;
    color: #fff;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-btn2::after {
    content: "\25BC";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-btn2.active::after {
    transform: rotate(180deg);
}

.accordion-btn3::after {
    content: "\25BC";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-btn3.active::after {
    transform: rotate(180deg);
}