/* --- General Body class to prevent scrolling when in fullscreen --- */
body.no-scroll {
    overflow: hidden;
}

/* --- Wrapper for the main page content --- */
#wherebysession-page-content {
    margin: 20px auto;
    max-width: 1200px;
    width: 100%;
}

/* --- Main Player Container --- */
#whereby-player-wrapper {
    position: relative;
    width: 100%;
    height: 800px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden; /* Clips the content */
}
#whereby-player-wrapper.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    border-radius: 0;
}

/* --- Fullscreen Button --- */
.fullscreen-button-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 100;
}
#whereby-player-wrapper.fullscreen-mode .fullscreen-button-wrapper {
    z-index: 10001;
}
#fullscreen-toggle-btn {
    font-size: 1.1rem;
    padding: 10px 18px;
    border-radius: 6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-weight: bold;

    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
#fullscreen-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* --- Container for the dynamic content (iframe or message box) --- */
.player-content {
    width: 100%;
    height: 100%;
}
.player-content.upcoming { background-color: #2c8c7a; }
.player-content.finished { background-color: #566573; }

/* --- Iframe (fixed scaling) --- */
.wherebysession-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Message Box (Upcoming/Finished) --- */
.wherebysession-message-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    color: #fff;
}
.wherebysession-message-box h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0 0 1rem 0;
    color: #fff;
}
.wherebysession-message-box .session-time {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.wherebysession-message-box #countdown {
    font-size: 4rem;
    font-weight: 700;
}
.wherebysession-message-box .back-to-course-btn {
    margin-top: 1.5rem;
}
.wherebysession-message-box .btn-secondary {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* --- ZMĚNA ZDE: Přidán nový blok pro zvětšení tlačítka --- */
.wherebysession-message-box .back-to-course-btn .btn {
    font-size: 1.2rem;
    padding: 12px 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* --- Help text box --- */
.whereby-helpbox {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9rem;
}