#gameRechargeApp {
    background-color: #F6F8F3;
}

.game-section {
    padding: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-title span {
    color: #E73B3B;
}

.game-row,
.server-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.game-option,
.server-option,
.package-option {
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #27324A;
    cursor: pointer;
    transition: .18s ease;
}

.game-option {
    min-width: 210px;
    min-height: 76px;
    border-radius: 14px;
    padding: 14px 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.game-option small {
    display: block;
    margin-top: 4px;
    color: #8C94A6;
}

.game-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F1F8ED;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
}

.game-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
}

.package-option {
    min-height: 92px;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.package-option b {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.package-option span {
    color: #BF1616;
    font-weight: 700;
}

.package-option small {
    display: block;
    margin-top: 4px;
    color: #61A534;
    font-weight: 700;
}

.server-option {
    height: 44px;
    min-width: 120px;
    border-radius: 999px;
    padding: 0 18px;
    font-weight: 700;
}

.game-option.active,
.server-option.active,
.package-option.active {
    border-color: #61C844;
    background: linear-gradient(90deg, rgba(150, 201, 61, .13), rgba(0, 176, 155, .13));
    box-shadow: 0 10px 24px rgba(97, 200, 68, .14);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
}

.info-field label {
    display: block;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.info-field .form-control {
    border: 1px solid #EEF2EA;
    border-radius: 14px;
    min-height: 46px;
    background: #FAFCF8;
}

.info-field .form-control:disabled {
    background: #ECEFF3;
    color: #667085;
}

.topup-price-table .table {
    margin-bottom: 0;
    border: 1px solid #D8DEE8;
}

.topup-price-table th,
.topup-price-table td {
    border-color: #D8DEE8;
    vertical-align: middle;
}

.topup-price-table tbody tr {
    cursor: pointer;
    transition: .16s ease;
}

.topup-price-table tbody tr:nth-child(odd) {
    background: #F3F4F6;
}

.topup-price-table tbody tr:hover,
.topup-price-table tbody tr.active-price {
    background: #ECF9E8;
}

.old-price {
    color: #F11D1D;
    margin-right: 4px;
    text-decoration: line-through;
}

.topup-price-table b {
    color: #111827;
}

#div-purchase-info {
    padding: 24px;
    position: sticky;
    top: 90px;
}

.side-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.side-kv {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed #EFF2F7;
    color: #374151;
    font-size: 14px;
}

.side-kv b {
    text-align: right;
    color: #1f2937;
}

.total-title {
    font-weight: 700;
}

.total-value {
    font-size: 20px;
    font-weight: 700;
    color: #BF1616;
    line-height: 1.3;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #EEF2F7;
    color: #64748B;
    font-weight: 700;
    font-size: 12px;
}

.status-0 {
    background: #E9FBE8;
    color: #20B23F;
}

.status-5 {
    background: #FFF7E6;
    color: #D98200;
}

.status-93,
.status-97 {
    background: #FFECEC;
    color: #E73B3B;
}

@media (max-width: 991px) {
    .package-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #div-purchase-info {
        position: static;
    }
}

@media (max-width: 575px) {
    .game-section,
    #div-purchase-info {
        padding: 18px;
    }

    .game-option,
    .server-option {
        width: 100%;
    }

    .package-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
}
