body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #ffcc00;
}

button {
    background-color: #ff5722;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #e64a19;
    }

.control-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.button-group {
    display: flex;
    justify-content: center;
}

    .button-group button {
        margin: 0 5px;
    }

.cast-launcher-container {
    position: absolute;
    top: 1rem;
    right: 5vw;
    z-index: 9999;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 2em;
    border-radius: 8px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.modal-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    width: 100%;
}

#session-dropdown {
    width: 100%;
    max-width: 220px;
    padding: 0.5em;
    font-size: 1em;
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
}

@media (max-width: 600px) {
    button {
        padding: 8px 12px;
        font-size: 14px;
    }
}
