@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');


* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;
}





.login-page,
.after-login-page {
    background-image: url(../img/login-bg.png);
    background-size: cover;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center center;
}

.login-box {
    background: rgba(30, 8, 45, 0.7);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(179, 133, 222, 0.5);
    padding: 40px;
    color: #f0e6ff;
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
}

.after-login-box {
    background: rgba(30, 8, 45, 0.7);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(179, 133, 222, 0.5);
    padding: 40px;
    color: #f0e6ff;
    width: 60%;
    margin: 20px auto;
}







.input-box label {
    font-size: 0.85rem;
    color: #f0e6ff;
    margin-bottom: 7px;
    font-weight: 600;
    display: block;
}

.input-login {
    background: rgba(20, 5, 30, 0.6) !important;
    border: 1px solid rgba(179, 133, 222, 0.6) !important;
    color: #ffffff !important;
    /* Pure white text inside inputs for MAX contrast */
    border-radius: 8px !important;
    padding: 14px 18px !important;
    /* Increased padding for better feel and space */
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.input-login::placeholder {
    color: rgba(240, 230, 255, 0.5);
    /* Lighter placeholder text for contrast within dark input */
}

.input-login:focus {
    background: rgba(30, 8, 45, 0.8) !important;
    /* Darker focus background */
    border-color: #d1b3ff !important;
    /* Brighter accent color border */
    /* Focused Neon-like glow - MORE PRONOUNCED */
    box-shadow: 0 0 15px rgba(209, 179, 255, 0.7) !important;
    outline: none !important;
}


.password-input {
    position: relative;
}

.password-input .eye-icon {
    right: 18px;
    width: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}


.form-check {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.form-check-input {
    border: 2.5px solid #b385de !important;
    margin-left: 0 !important;
}

.form-check-input:checked {
    background-color: #d1b3ff !important;
    border-color: #d1b3ff !important;
}

.form-check-label {
    color: #f0e6ff;
    margin-left: 10px;
}


.enter-18-btn {
    width: 100%;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(145deg, #f9df7c, #e0b44a, #d4a73d);
    color: #1a0f29;
    box-shadow: 0 5px 15px rgba(224, 180, 74, 0.5), inset 0 -2px 5px rgba(0, 0, 0, 0.2), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease-in-out;
    outline: none;
    display: block;
    text-align: center;
    text-decoration: none;
}

.enter-18-btn:hover {
    background: linear-gradient(145deg, #d4a73d, #e0b44a, #f9df7c);
    box-shadow: 0 8px 25px rgba(224, 180, 74, 0.7), inset 0 -2px 5px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.enter-18-btn:focus {
    box-shadow: 0 0 15px rgba(224, 180, 74, 0.6) !important;
}

.under-18 {
    width: 100%;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #b385de;
    background: transparent;
    border: 3px solid rgba(179, 133, 222, 0.7) !important;
    box-shadow: 0 4px 15px rgba(179, 133, 222, 0.2);
    transition: all 0.2s ease-in-out;
    outline: none;
}

.under-18:hover {
    background: rgba(179, 133, 222, 0.25);
    color: #d1b3ff;
    border-color: #d1b3ff !important;
    transform: translateY(-3px);
}

.under-18:focus {
    box-shadow: 0 0 15px rgba(179, 133, 222, 0.4) !important;
}


.after-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 12px;
    background: transparent;
    border: 2px solid rgba(179, 133, 222, 0.4);
    color: #f0e6ff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.after-bottom-btn img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    background-color: #1a0f29;
    border: 2px solid #e0b44a;
    border-radius: 50%;
    padding: 5px;
}

.after-bottom-btn:hover {
    background: rgba(179, 133, 222, 0.1);
    border-color: #d1b3ff;
    color: #d1b3ff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(179, 133, 222, 0.2);
}

.after-bottom-btn:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(179, 133, 222, 0.5);
}

.game-close-btn.after-bottom-btn:hover {
    background: rgba(179, 133, 222, 0.1);
    border-color: #ff0000;
    color: #ff0000;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgb(222, 133, 133);
}

.game-close-btn.after-bottom-btn:focus {
    outline: none;
    box-shadow: 0 4px 15px rgb(222, 133, 133);
}

.play-win-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    background: linear-gradient(45deg, #e0b44a, #f9df7c);
    color: #1a0f29;
    text-decoration: none;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(224, 180, 74, 0.4);
}

.play-win-btn:hover {
    background: linear-gradient(45deg, #f9df7c, #e0b44a);
    box-shadow: 0 6px 20px rgba(224, 180, 74, 0.6);
    transform: translateY(-2px);
    color: #1a0f29;
}

.play-win-btn img {
    width: auto;
    height: 50px;
    margin-right: 12px;
}


.login-logo img {
    height: 100px;
}




/* home */


.header {
    display: flex;
    background-color: #260521;
    height: 15vh;
}

.header-left {
    display: flex;
    flex-direction: column;
    width: 30%;
    border: 0.2vw solid #CEAC62;
    border-radius: 6px;
    justify-content: space-around;
}

.header-left .termial-id {
    color: white;
    font-size: .8vw;
    padding: 1vh;
    border-bottom: 3px solid #CEAC62;
    background: linear-gradient(90deg, #260521 0%, #430642 50%, #280529 100%);
    height: 30%;
    display: flex;
    align-items: center;

}

.header-left .next-draw-time {
    color: white;
    font-size: .8vw;
    padding: 1vh;
    border-bottom: 3px solid #CEAC62;
    text-align: center;
    background: linear-gradient(90deg, #260521 0%, #430642 50%, #280529 100%);
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-left .Time {
    font-size: 2vw;
    text-align: center;
    color: #ECC972;
    font-weight: 600;
    background: linear-gradient(90deg, #260521 0%, #430642 50%, #280529 100%);
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-center {
    background-image: url(/img/home-header.png);
    width: 40%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border: 0.2vw solid #CEAC62;
    border-radius: 6px;
    height: 15vh;
}

.header-right {
    display: flex;
    flex-direction: column;
    border: 0.2vw solid #CEAC62;
    border-radius: 6px;
    width: 30%;

}

.header-right .available-point {
    color: #ECC972;
    font-size: 1vw;
    padding: 2vh;
    border-bottom: 3px solid #CEAC62;
    background: linear-gradient(90deg, #260521 0%, #430642 50%, #280529 100%);
    height: 55%;
    display: flex;
    align-items: center;

}

 .more-draws-text {
    display: flex;
    gap: 1vw;
    align-items: center;
    height: 100%;
    color: white;
    padding: 0 2vh;
    font-size: 1vw;
}

 .more-draws-text input {
    border: 0.2vw solid #CEAC62;
        border-radius: 0.3vw;
    background: #fff;
    padding: 0.8vh 1vw;
    font-size: 0.8vw;
    outline: none;
}

 .more-draws-text input:focus {
    outline: #e0b44a;
}

      .win-points{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:1vh 1vw;
    background:linear-gradient(90deg,#260521 0%,#430642 50%,#280529 100%);
    font-size:1vw;
    color:#ECC972;
    font-weight:600;
    height: 100%;
}

.take-point-btn{
    padding:0.8vh 1.5vw;
    font-size:0.8vw;
    font-weight:600;

    color:#260521;
    background:linear-gradient(145deg,#ECC972,#CEAC62);

    border:none;
    border-radius:0.4vw;
    cursor:pointer;

    box-shadow:0 0.3vh 0.8vh rgba(0,0,0,0.4);
    transition:0.3s;
}

.take-point-btn:hover{
    transform:translateY(-0.2vh);
    box-shadow:0 0.5vh 1.2vh rgba(206,172,98,0.6);
}



.main-content {
    height: 70vh;
    background: linear-gradient(90deg, #260521 0%, #430642 50%, #280529 100%);
    display: flex;
}

.main-left-section {
    width: 40%;
    border: 1px solid;
    height: 100%;
    background-image: url(/img/main-left-section.png);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    overflow-y: scroll;
    padding: 1vh;
}

.main-center-section {
    width: 30%;
    border: 1px solid;
    height: 100%;
    background-image: url(/img/main-center.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}



.main-center-section .last-result-box {
    width: 70%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2vh 0;
    gap: 1vh;

}

.main-center-section .re-timing {
    color: #fff;
    font-size: 3vh;
    font-weight: 800;
    font-size: 5.3vh;
}

.main-center-section .last-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vh;
}

.main-center-section .last-result img {
    height: 35vh;
}

.main-center-section .last-result span {
    color: #CEAC62;
    font-size: 3.8vh;
}


.main-right-section {
    width: 40%;
    border: 1px solid;
    height: 100%;

    background-image: url(/img/main-right-section.png);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    overflow-y: scroll;
}

.main-left-section::-webkit-scrollbar,
.main-right-section::-webkit-scrollbar {
    display: none;
}


.card-row{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 0.48fr;
    gap: 2vh;
    align-items: end;
}

.card-box {
    text-align: center;
    /* width: 18%; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding:0 1vw;
}

.card-box .card-img {
    width: 100%;
    border-radius: 0.6vw;
    box-shadow: 0 0.3vh 0.6vh rgba(0, 0, 0, 0.3);
    margin-bottom: 1vh;
}

.card-box .card-input {
    width: 80%;
    height: 3.5vh;
    border-radius: 0.4vw;
    border: 0.15vw solid #430642;
    background: linear-gradient(180deg, #ffffff, #e8e8e8);
    padding: 0.8vh;
    font-size: 0.9vw;
    font-weight: 600;
    text-align: center;
    outline: none;
    box-shadow:
        inset 0 0.25vh 0.4vh rgba(0, 0, 0, 0.25),
        0 0.25vh 0.6vh rgba(0, 0, 0, 0.25);
    transition: 0.3s;
}

.card-box .card-input:focus {
    border-color: #ffcc00;

    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.25),
        0 0 8px rgba(255, 204, 0, 0.7);
}

.All-card-rows {
    display: flex;
    align-items: flex-end;
    padding: 0 1vh;
    gap: 2vh;
    margin-bottom: 3vh;
}
.all-bet-box{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.all-bets-btn {
    width: 2vw;
    height: 2vw;

    display: flex;
    align-items: center;
    justify-content: center;

    background: radial-gradient(circle at 30% 30%, #9a4dff, #1a002b);
    color: #ffffff;

    font-size: 0.55vw;
    font-weight: 700;

    border-radius: 50%;
    border: 0.25vw solid #b86cff;

    cursor: pointer;
    letter-spacing: 0.05vw;

    box-shadow:
        inset 0 0 0.7vw rgba(184, 108, 255, 0.7),
        0 0.5vh 1vh rgba(0, 0, 0, 0.6);

    transition: all 0.3s ease;
}



.all-bets-btn:hover {
    transform: scale(1.1);
    box-shadow:
        inset 0 0 1vw rgba(184, 108, 255, 0.9),
        0 0.8vh 2vh rgba(184, 108, 255, 0.6);
}

.all-bets-btn:active {
    transform: scale(0.92);
}


.bet-row {
    width: 100vw;
    height: 7vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    background: linear-gradient(180deg, #4b0055, #2b0030);
    border-top: 4px solid #CEAC62;
}

/* coin base */
.bet-row .bet-coin {
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
    border: 0.31vw solid #CEAC62;
    font-size: 0.8vw;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 0.3vw 0.6vw rgba(255, 255, 255, 0.6),
        inset 0 -0.3vw 0.6vw rgba(0, 0, 0, 0.5),
        0 0.3vw 0.5vw rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.bet-row .bet-coin:hover {
    transform: scale(1.1);
}


.bet-row .coin5 {
    background: radial-gradient(circle, #ff4d4d, #b30000);
}

.bet-row .coin10 {
    background: radial-gradient(circle, #ff9933, #cc6600);
}

.bet-row .coin20 {
    background: radial-gradient(circle, #4dff88, #009933);
}

.bet-row .coin50 {
    background: radial-gradient(circle, #3399ff, #0047b3);
}

.bet-row .coin100 {
    background: radial-gradient(circle, #ff3333, #b30000);
}

.bet-row .coin500 {
    background: radial-gradient(circle, #cc66ff, #6600cc);
}

.bottom-row {
    width: 100vw;
    height: 8vh;
    background: linear-gradient(180deg, #5a0066, #3a003f);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    padding: 0 1vw;
    box-shadow: 0 -0.3vh 1vh rgba(0, 0, 0, 0.5);
    border-top: 4px solid #CEAC62;
}

.bottom-row .btn-gold {
    background: linear-gradient(180deg, #f6d36b, #c79b2a);
    border: none;
    padding: 0.7vh 2vw;
    font-size: 1vw;
    font-weight: 700;
    border-radius: 0.5vw;
    cursor: pointer;
    color: #3a003f;
    box-shadow: inset 0 0.2vh 0.4vh rgba(255, 255, 255, 0.5);
}

.bottom-row .btn-gold:hover {
    background: linear-gradient(180deg, #ffd86b, #d4a93a);
}

.bottom-row .total-box {
    background: #4a0052;
    color: #CEAC62;
    padding: 0.6vh 1.5vw;
    font-size: 1vw;
    border-radius: 0.4vw;
    border: 0.1vw solid #c79b2a;
}

.bottom-row .barcode-text {
    color: #CEAC62;
    font-size: 1vw;
    font-weight: 600;
}

.bottom-row .form-input {
    width: 6vw;
    border: 0.15vw solid #c79b2a;
    border-radius: 0.3vw;
    background: #fff;
    padding: 0.8vh 1vw;
    font-size: 0.8vw;
    outline: none;
}


.result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vw;
    padding: 1vw;
}


.result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* circle result */

.result-box .result-circle {
    width: 6vw;
    height: 6vw;
    border-radius: 50%;
    background: #fff;
    border: 0.35vw solid #d4af37;
        border: 0.35vw solid #5a0a76;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8vw;
    font-weight: bold;
    color: #5a0066;
    box-shadow:
        inset 0 0 0.4vw rgba(0, 0, 0, 0.3),
        0 0.3vw 0.5vw rgba(0, 0, 0, 0.4);
    display: flex;
    gap: 0.3vh;
}

.result-box .result-circle img {
    width: 1.8vw;
}

/* bottom time box */

.result-box .result-time {
    margin-top: -1vw;
    width: 7vw;
    height: 2.2vw;
    background: linear-gradient(180deg, #6b007b, #3c0043);
    border: 0.15vw solid #d4af37;
    border-radius: 0.5vw;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 0.9vw;
    font-weight: 600;

    box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.4);
}

.header-right .close-btn {
    width: 1.8vw;
    height: 1.8vw;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5vw;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 0.15vw solid #fff;

    background: linear-gradient(145deg, #ff5a52, #b60000);
    cursor: pointer;
    margin-left: auto;
    line-height: 1;
    text-decoration: none;
}

/* home */






/* HEADER */





/* TOP BUTTONS */

.counter-sale-btn {
    background: linear-gradient(180deg, #3a0047, #21002a);
    border: 0.12vw solid #CEAC62;
    padding: 0.7vh 1.5vw;
    margin-right: 0.5vw;
    border-radius: 0.5vw;
    font-weight: 700;
    color: #fff;
}

.counter-sale-btn.active {
    background: linear-gradient(135deg, #8a2be2, #5f00cc);
    color: #CEAC62;
}

/* SEARCH */

.modal-form {
    display: flex;
    gap: 0.6vw;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

.searh-modal {
    flex: 1;
    height: 3.5vh;
    border-radius: 0.5vw;
    border: 0.15vw solid #CEAC62;
    background: #1c0024;
    color: #fff;
    padding: 0.4vh 0.6vw;
}

/* ACTION BUTTONS */

.ac-submit,
.ac-cancel,
.ac-print {
    padding: 0.7vh 1.4vw;
    border-radius: 0.5vw;
    font-weight: 700;
    border: none;
}

.ac-submit {
    background: linear-gradient(135deg, #8a2be2, #5f00cc);
    color: #CEAC62;
}

.ac-cancel {
    background: #3a0047;
    color: #fff;
}

.ac-print {
    background: #CEAC62;
    color: #2b0033;
}

/* TABLE */

.ac-table {
    font-size: 0.9vw;
    color: #fff;
}

.ac-table thead {
    background: #5f00cc;
    color: #CEAC62;
}

.ac-table th,
.ac-table td {
    padding: 0.7vh 0.8vw;
    border: 0.1vw solid #4a0072;
}

/* USER BOX */

.user-box {
    background: linear-gradient(180deg, #2a0033, #180020);
    border: 0.15vw solid #CEAC62;
    border-radius: 0.6vw;
    padding: 1vh;
    font-weight: 600;
}

.user-box span {
    color: #CEAC62;
}



.accountModal .modal-content,
.passwordModal .modal-content {
    background: linear-gradient(180deg, #2b0033, #150018);
    border-radius: 1vw;
    color: #fff;
    box-shadow: 0 0.8vh 2vh rgba(0, 0, 0, 0.7);
}

/* header */
.accountModal .modal-header ,
.passwordModal .modal-header {
    background: linear-gradient(90deg, #260521 0%, #430642 50%, #280529 100%);
    border-bottom: 0.15vw solid #CEAC62;
}
.accountModal .modal-title,
.passwordModal .modal-title {
    color: #CEAC62;
    font-weight: 700;
}

/* form */

.pass-form {
    margin-bottom: 1.5vh;
    display: flex;
    flex-direction: column;
}

.pass-form label {
    font-size: 0.9vw;
    margin-bottom: 0.4vh;
    color: #CEAC62;
}

/* input */



/* buttons */

.pass-btn-box {
    display: flex;
    justify-content: flex-end;
    gap: 0.6vw;
    margin-top: 1vh;
}

.pass-save {
    background: linear-gradient(135deg, #8a2be2, #5f00cc);
    color: #CEAC62;
    border: none;
    padding: 0.8vh 1.6vw;
    border-radius: 0.5vw;
    font-weight: 700;
    cursor: pointer;
}

.pass-cancel {
    background: #3a0047;
    color: #fff;
    border: none;
    padding: 0.8vh 1.6vw;
    border-radius: 0.5vw;
    cursor: pointer;
}

.pass-save:hover {
    box-shadow: 0 0.5vh 1vh rgba(255, 215, 0, 0.5);
}






















@media screen and (max-width: 992px) and (orientation: landscape) {

    .login-box {
        width: 60%;
        padding: 20px 40px;
    }

    .login-logo img {
        height: 50px;
    }

    .input-login {
        padding: 10px 14px !important;
        font-size: 0.8rem !important;
    }

    .password-input .eye-icon {
        width: 25px;
    }

    .under-18,
    .enter-18-btn {
        padding: 12px 22px;
        border-radius: 10px;
        font-size: 0.9rem;
        font-weight: 700;
    }

    .after-login-box {
        width: 80%;
    }

    .play-win-btn {
        padding: 10px 16px;
        font-size: 1.2rem;
    }

    .play-win-btn img {
        height: 30px;
    }

    .after-bottom-btn {
        font-size: 0.7rem;
        border-radius: 10px;
    }

    .after-bottom-btn img {
        width: 25px;
        height: 25px;
    }
}

/* RESULT MODAL */
.result-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.result-modal-content {
  background: #1a0024;
  border: 2px solid #CEAC62;
  border-radius: 10px;
  padding: 20px;
  width: 600px;
  max-height: 80%;
  overflow-y: auto;
  color: #fff;
}

/* SAME GRID */
.modal-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* smaller for modal */
.result-modal-content .result-circle {
  width: 5vw;
  height: 5vw;
  font-size: 1.5vw;
}

.result-modal-content .result-circle img {
  width: 1.5vw;
}

.result-modal-content .result-time {
  width: 6vw;
  height: 2vw;
  font-size: 0.8vw;
}

/* FILTER BUTTON */
.filter-row button {
  background: linear-gradient(180deg, #f6d36b, #c79b2a);
  border: none;
  padding: 0.5vh 1vw;
  font-size: 0.8vw;
  font-weight: 700;
  border-radius: 0.4vw;
  cursor: pointer;
  color: #3a003f;
  white-space: nowrap;
}

.filter-row button:hover {
  background: linear-gradient(180deg, #ffd86b, #d4a93a);
}

.modal-header button {
  background: linear-gradient(145deg, #ff5a52, #b60000);
  border: 2px solid #fff;
  width: 1.8vw;
  height: 1.8vw;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9vw;
  font-weight: bold;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1;
  padding: 0;

  box-shadow: 0 0.2vw 0.4vw rgba(0,0,0,0.5);
  transition: 0.2s;
}

.modal-header button:hover {
  transform: scale(1.1);
  box-shadow: 0 0.4vw 0.8vw rgba(255,0,0,0.6);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 0.8vw;
  margin-bottom: 1.5vh;
}

.filter-row input {
  height: 2.3vw;
  padding: 0 0.6vw;
  border-radius: 0.4vw;

  border: 0.12vw solid #CEAC62;

  background: linear-gradient(180deg, #ffffff, #f1f1f1);
  color: #2b0033;

  font-size: 0.75vw;
  font-weight: 600;

  outline: none;

  box-shadow:
    inset 0 0.2vh 0.3vh rgba(0,0,0,0.2),
    0 0.2vh 0.4vh rgba(0,0,0,0.3);

  transition: 0.2s;
}

.filter-row input:focus {
  border-color: #ffd86b;
  box-shadow:
    inset 0 0.2vh 0.3vh rgba(0,0,0,0.3),
    0 0 8px rgba(255, 216, 107, 0.7);
}
.filter-row button {
  height: 2.2vw;
  padding: 0 1vw;
  font-size: 0.8vw;
}
.result-modal-content {
  margin-top: 2vh;
}
.result-modal-content {
  scroll-behavior: smooth;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1vh;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5vw;
  color: #fff;
}
/* ===== ACCOUNT MODAL FIX ===== */

.top-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.filter-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.filter-row input {
  width: 130px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #CEAC62;
  padding: 5px;
}

/* MAIN LAYOUT */
.account-content {
  display: flex;
  gap: 15px;
}

/* LEFT TABLE */
.account-left {
  width: 65%;
}

/* RIGHT BOX */
.account-right {
  width: 35%;
}

/* USER BOX FIX */
.user-box {
  background: linear-gradient(180deg, #2a0033, #180020);
  border: 2px solid #CEAC62;
  border-radius: 10px;
  padding: 15px;
  font-weight: 600;
  height: 100%;
}

/* BUTTON SIZES */
.ac-submit,
.ac-cancel,
.ac-print {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

/* TABLE HEADER FIX */
.ac-table thead th {
  background: #fff;
  color: #000;
  font-size: 12px;
  padding: 6px;
}


/* ===== MODAL BASE ===== */
.result-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.result-modal-content {
  background: linear-gradient(145deg, #2a003f, #3b0057);
  border: 2px solid #facc15;
  border-radius: 14px;
  padding: 20px;
  width: 420px;
  max-width: 95%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  color: #fff;
  animation: popup 0.25s ease;
}

@keyframes popup {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== HEADER ===== */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
}

.modal-header button {
  background: #ef4444;
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

/* ===== SUMMARY GRID ===== */
.bet-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.bet-summary div {
  background: rgba(255,255,255,0.06);
  padding: 10px;
  border-radius: 8px;
}

.bet-summary span {
  font-size: 12px;
  color: #aaa;
}

.bet-summary p {
  margin: 2px 0 0;
  font-weight: bold;
}

/* STATUS COLORS */
.status.won { color: #22c55e; }
.status.lost { color: #ef4444; }
.status.pending { color: #facc15; }

/* ===== SECTION ===== */
.bet-section {
  margin-top: 18px;
}

.bet-section h4 {
  margin-bottom: 10px;
  color: #facc15;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.card-box {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.card-name {
  font-weight: bold;
}

.card-amount {
  color: #facc15;
}

/* ===== RESULT ===== */
.result-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}



.result-card {
  color: #22c55e;
  font-size: 18px;
  font-weight: bold;
}

/* ===== PENDING ===== */
.pending-text {
  color: #facc15;
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}