body {
    background-color: #1e2c67;
    text-align: center;
    margin: 0 auto;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 20px;
    color: #e7d07d;
    box-sizing: border-box;
    overflow-x: hidden;
}
    
#scleg_player1 {
    background-color: #1e2c67;
    max-width: 1100px;
    display: inline-block;
}

#scleg_optsCanvRow {
    background-color: #e7d07d;
    color: #1e2c67;
}
.scleg_screenModal {
	background-color: #1e2c67;
}
.scleg_screenModalBox {
	border-color: #e7d07d;
	background-color: #1e2c67;
	color: #e7d07d;
}
.gif-popup-overlay {
    background-color: #1e2c67;
    color: #e7d07d;
}
.gif-popup-content {
    color: #e7d07d;
}
#gif-popup-close {
	margin-right: 5px;
}
#scleg_canvasButtonBar button.scleg_ctrlButton:hover {
	background-color: unset;
}

/* Fullscreen darkened background */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Modal content box */
.modal-content {
    background: #1e2c67;
    width: 90%;
    max-width: 900px;
    height: 90%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header with close button */
.modal-header {
    padding: 0.75em 1em;
    background: #1e2c67;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.2em;
}

/* Close button */
.close-btn {
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    line-height: 1;
    color: #e7d07d;
}

/* Body containing the iframe */
.modal-body {
    flex: 1;
    overflow: hidden;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Footer container under iframe */
.modal-footer {
    padding: 0.75em 1em;
    background: #1e2c67;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Skip button */
.skip-btn {
    background-color: rgba(84, 13, 110, 0.85);
    color: #ffffff;
    border: 2px solid #ffd23f;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Open Sans', Arial, sans-serif;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.skip-btn {
    margin-left: auto;
}
.skip-btn:hover {
    background: #ddd;
}

.dont-ask {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}
