.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.flex-row p {
    margin: 0;
    font-size: 0.95em;
    color: #333;
}

.card-body {
    padding: 15px;
    line-height: 1.5;
}

#credit {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 0px;
    padding-bottom: 5px !important;
}

.transaction-card {
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
}

.transaction-card:hover {
    transform: scale(1.02);
}

.card-header {
    background-color: #f5f5f5;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.card-header h5 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.card-body {
    line-height: 0.4;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.card-body p {
    margin: 5px 0;
    font-size: 0.95em;
}

.p-transid {
    color: #109c45 !important;
    font-weight: 800;
}

.p-trans-amount {
    color: #e30000 !important;
    font-weight: 600;
}

.card-body p strong {
    color: #555;
}

.div-recent-tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    line-height: 30px;
}

.creditbody {
    margin-top: 5px !important;
    height: 433px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 295px;
}

.tab-pane {
    display: none;
}

.tab-pane.show {
    display: block;
}

#download-csv {
    cursor: pointer;
    font-size: 23px;
    margin-right: 20px;
}

#download-pdf {
    cursor: pointer;
    font-size: 24px;
}

.header .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 10px;
}

.header .auth-buttons {
    display: inline-flex;
    gap: 10px;
}

.header img.tushilogo {
    max-width: 100%;
}

.header .row:last-child {
    margin-bottom: 0;
}

.scrolling-message {
    overflow: hidden;
    white-space: nowrap;
}

.scrolling-message::before {
    content: '';
}

.scrolling-message span {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 10s linear infinite;
    font-size: 12px;
}

@keyframes scroll {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.flex-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.flex-container .flex-item {
    margin: 0;
}

.flex-container .form-group {
    width: 100%;
}

.flex-container textarea {
    width: 100%;
    resize: none;
}

.b-menu-ico {
    line-height: 38px;
    height: 38px;
    color: #04ff17;
}

.flexy-deposit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
}

.toplogobars {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 1px;
}

.lg-sp-div {
    text-align: center;
}

.invalid-amount {
    background-color: #ff7f7f;
    color: #0e0101 !important;
}

.caretup-green {
    color: greenyellow;
    padding-right: 5px;
}

.fail-odd {
    color: #ff7f7f;
}

.caretdown-red {
    color: red !important;
}

.win-outcome {
    color: #109c45 !important;
}

.userdebiticon {
    font-size: 8px !important;
    padding-right: 4px;
    padding-left: 3px;
    top: -2px;
    position: relative;
}

#milenfo {
    grid-column: span 8;
    height: 20px;
    line-height: 20px;
}

/* Media query for screens with width 360 pixels or smaller */
@media screen and (max-width: 360px) {
    .fa-language {
        display: none;
    }

    .login {
        background-color: #109c45;
        color: white;
        border: 1px solid #46a345;
        padding: 3px 10px;
        border-radius: 15px;
        cursor: pointer;
        position: relative;
        right: -8px;
    }

    .join-now {
        background-color: white;
        color: #109c45;
        border: 1px solid white;
        padding: 3px 10px;
        margin-right: 10px;
        border-radius: 15px;
        cursor: pointer;
        position: relative;
        right: -30px;
    }

    #username-log {
        color: white;
        padding: 3px 10px;
        font-size: 12px;
    }

    #theopen-three {
        right: 13px !important;
    }

    .balance-value {
        font-size: 14px;
        font-weight: bold;
        text-align: center;
    }

    .ziboard {
        position: absolute;
        top: 60px;
        display: flex;
        justify-content: center;
        /* align-items: center; */
        flex-direction: column;
        width: 100%;
        /* max-width: 306px; */
        margin: 0px auto;
        font-family: Arial, sans-serif;
        color: #fff;
        opacity: 0;
    }

    .board {
        display: grid;
        grid-template-columns: 1fr 1.5fr 1fr 1fr;
        margin: 0 auto;
        border-collapse: collapse;
        width: 100%;
        /* max-width: 325px; */
    }

    .dvautocheckbox label {
        position: relative;
        left: -20px;
    }

    #autbtnid {
        font-size: 12px;
    }

    .bet-button {
        background-color: #109c45;
        border: 1px solid green;
        border-radius: 10px;
        color: white;
        line-height: 35px;
        font-size: 13px;
        width: 90%;
        display: block;
        margin: 12px auto;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }
}

@media screen and (min-width: 370px) and (max-width: 400px) {
    .login {
        background-color: #109c45;
        color: white;
        border: 1px solid #46a345;
        padding: 3px 10px;
        border-radius: 15px;
        cursor: pointer;
        position: relative;
        right: -8px;
    }
    .fa-language {
        display: none;
    }
}