#pola-modal {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 101;
}

#pola-modal>div {
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

#pola-modal>div>h3 {
    /* background: linear-gradient(to bottom, #f6e976 0%,#d19216 100%); */
    background: linear-gradient(to bottom, #33469c 0%, #161b31 100%);
    margin-bottom: 0;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #fff;
}

#pola-modal>div>div {
    padding: 20px;
}

#pola-modal>div>div>img {
    width: 100%;
    margin-bottom: 10px;
}

#pola-modal>div>div>table {
    width: 100%;
    border-collapse: collapse;
}

#pola-modal>div>div>table td {
    border: 1px solid #000;
    padding: 8px;
    font-size: 12px;
}

#pola-modal>div>div>table td:first-child {
    width: 30%;
    font-weight: 700;
}

#pola-modal>div>div>table td:last-child {
    font-family: monospace;
}

#pola-modal>div>div>button {
    cursor: pointer;
    display: block;
    background-color: #0073a8;
    color: #fff;
    border: none;
    border-radius: 2px;
    margin: 10px auto 0 auto;
    padding: 6px 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 1px rgba(0, 0, 0, .075);
    text-transform: uppercase;
}


div.rtp-bar {
    background-color: #E9ECEF;
    width: calc(100% - 10px);
    height: 20px;
    margin: 5px auto;
    overflow: hidden;
}

div.rtp-bar>div {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    --bs-bg-opacity: 1;
    height: 100%;
    animation: 1s linear infinite progress-bar-stripes;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.rtp-bar>div>div {
    color: #fff;
    font-weight: 700;
}

button.rtp-button {
    display: block;
    background-color: #0073a8;
    color: #fff;
    border: none;
    border-radius: 2px;
    width: calc(100% - 10px);
    margin: 0 auto 10px auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 1px rgba(0, 0, 0, .075);
}

@media screen and (min-width: 768px) {
    div.rtp-bar {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    .game-box-glow-in-purple {
        display: none;
    }
}



#pola-modal {
    display: none;
    /* Hidden by default, shown by JS */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    /* padding: 20px; */
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    text-align: left;
}

.modal-body table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.modal-body table td:first-child {
    font-weight: bold;
    width: 100px;
}

.modal-content button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #0056b3;
}

/* Add styles for the new button and RTP bar */
.btn-polaslot {
    text-align: center;
    margin-top: 5px;
    /* Adjust as needed */
}

.rtp-bar {
    background-color: #e0e0e0;
    /* Light grey background */
    border-radius: 5px;
    height: 20px;
    margin-bottom: 5px;
    overflow: hidden;
    /* Ensure inner div respects border radius */
    position: relative;
    /* For positioning the text */
    border: 1px solid #bdbdbd;
}

.rtp-bar>div {
    height: 100%;
    border-radius: 5px 0 0 5px;
    /* Match outer radius on the left */
    display: flex;
    align-items: center;
    /* Center text vertically */
    justify-content: flex-end;
    /* Align text to the right */
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding-right: 5px;
    /* Space from the right edge */
    box-sizing: border-box;
    /* Include padding in width */
}

.rtp-bar>div>div {
    /* The text itself */
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    color: black;
    /* Or white if preferred on the bar */
    line-height: 20px;
    /* Center text vertically */
}

.rtp-button {
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    background-color: #ffc107;
    /* Example color */
    border: none;
    border-radius: 3px;
    color: #333;
}

.rtp-button:hover {
    background-color: #e0a800;
}

.ribbon-wrapper {
    pointer-events: none;
    user-select: none;
}