/* ================= BETSET PAGE STYLES (v3.0.28) ================= */

.betset-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 12px 40px;
    font-size: 14px;
    text-align: center;
    background: #3a3a3a;
    color: #eee;
    min-height: calc(100vh - 52px);
}

/* ================= LINE ================= */
.betset-wrap .hr {
    height: 1px;
    background: #6b6b6b;
    margin: 12px 0;
}

/* ================= INPUT ================= */
.betset-wrap .bs-input {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 0;
    width: 72px;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
}

.betset-wrap .bs-input.small {
    width: 56px;
}

.betset-wrap .bs-input.wide {
    width: 100%;
    max-width: 260px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 15px;
}

/* ================= CHECK ================= */
.betset-wrap .bs-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ddd;
}

.betset-wrap .bs-check input {
    width: 18px;
    height: 18px;
    accent-color: #3fd2ff;
}

/* ================= SEGITIGA ================= */
.betset-wrap .arrow {
    display: inline-block;
    margin-left: 6px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #bfbfbf;
}

/* ================= HI LOW ================= */
.betset-wrap .hl-wrap {
    margin: 8px 0;
}

.betset-wrap .hl-row {
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
    white-space: nowrap;
}

.betset-wrap .hl-row.row-1 {
    grid-template-columns: auto auto 72px auto;
}

.betset-wrap .hl-row.row-2 {
    grid-template-columns: auto 72px auto 72px auto;
}

.betset-wrap .hl-label {
    color: #ddd;
}

.betset-wrap .hl-text {
    color: #aaa;
}

/* ================= CONSTANT DIVIDER ================= */
.betset-wrap .two-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.betset-wrap .two-line .line-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.betset-wrap .two-line .line-2 {
    font-size: 13px;
    color: #ddd;
}

/* ================= RESET LOGIC ================= */
.betset-wrap .three-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.betset-wrap .three-line .line-1,
.betset-wrap .three-line .line-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.betset-wrap .muted {
    color: #aaa;
    font-size: 13px;
}

/* ================= STOP CONDITIONS ================= */
.betset-wrap .stop-row {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #6b6b6b;
    border-bottom: 1px solid #6b6b6b;
    margin: 16px 0;
    background: transparent;
}

.betset-wrap .stop-line {
    display: grid;
    grid-template-columns: 80px minmax(160px, 1fr) 60px;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    background: transparent;
}

.betset-wrap .stop-line:not(:last-child) {
    border-bottom: 1px solid #6b6b6b;
}

.betset-wrap .stop-label {
    text-align: right;
    color: #ddd;
    white-space: nowrap;
}

/* ================= SYSTEM ================= */
.betset-wrap .system-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.betset-wrap .system-btn {
    padding: 8px 18px;
    background: linear-gradient(#2f6d68, #1d3f3c);
    border-radius: 6px;
    font-weight: bold;
    color: #cffff9;
    border: none;
    cursor: pointer;
}

.betset-wrap .info {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

/* ================= POPUP ================= */
.betset-wrap .system-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.betset-wrap .system-popup.show {
    display: flex;
}

.betset-wrap .system-modal {
    width: 260px;
    background: #2e2e2e;
    border-radius: 6px;
    overflow: hidden;
}

.betset-wrap .system-title {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #6b6b6b;
}

.betset-wrap .system-item {
    padding: 11px 14px;
    text-align: center;
    color: #ddd;
    cursor: pointer;
    border-bottom: 1px solid #3a3a3a;
}

.betset-wrap .system-item:last-child {
    border-bottom: none;
}

.betset-wrap .system-item.active {
    color: #9fffdc;
    font-weight: 600;
    background: rgba(159, 255, 220, 0.1);
}