:root {
    --teleprompter-font-size: 40px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.controls {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.control-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.slider-container {
    display: flex;
    align-items: center;

    input {
        flex-grow: 1;
        margin-right: 10px;
    }
}

.slider-value {
    min-width: 40px;
}

.teleprompter-container {
    position: relative;
    height: 400px;
    overflow-y: auto;
    background-color: black;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    &.fullscreen {
        height: 100vh;
    }
}

.teleprompter-content {
    background-color: black;
    color: white;
    padding: 40px;
    text-align: center;
    min-height: 100%;
    outline: none;
    transition: background-color 0.3s, color 0.3s;
    font-size: var(--teleprompter-font-size);

    &:focus {
        outline: none;
    }
}

.light-mode {
    background-color: white;
    color: black;
}

button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;

    &:hover {
        background-color: #1a2530;
    }
}

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

.special-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.fullscreen-controls {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1000;
    display: none;
    gap: 10px;

    &.active {
        display: flex;
    }
}

.control-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.2s;

    &:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }
}

/* White background version for light mode */
.light-mode-active .control-button {
    background-color: rgba(255, 255, 255, 0.5);
    color: black;

    &:hover {
        background-color: rgba(255, 255, 255, 0.8);
    }
}

.source {
    text-align: center;
}
