body {
    font-family: sans-serif;
    display: grid;
    grid-template-areas: 'header header'
                         'aside main';
    grid-template-rows: auto 1fr;
    grid-template-columns: auto 1fr;
}

h1 {
    grid-area: header;
}

h2 {
    margin-top: 0;
}

aside {
    grid-area: aside;
    padding-right: 20px;
    border-right: 1px solid #ccc;
}

main {
    grid-area: main;
    padding: 0 20px;
}

label,
.label {
    display: block;
    font-weight: bold;
    margin: 1em 0 8px;
}

input[type="number"],
input[type="range"] {
    font-size: 1.5em;
    width: 100px;
}

button {
    margin-top: 10px;
}

ul,
ol {
    padding: 0;
    margin: 0;
}

.kiosks {
    margin-bottom: 40px;
}

.kiosk {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    background: #e6e6ff;
    min-height: 26px;
    padding: 4px;
    border-radius: 15px;
}

.queue {
    display: block;
}

.attendee {
    display: inline-block;
    background-color: #000093;
    border-radius: 50%;
    color: white;
    padding: 0;
    margin: 1px;
    width: 24px;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
}

.curve-editor {
    margin: 20px 0;
}

.curve-svg {
    display: block;
    margin: -20px;
    user-select: none;
}

.preset-buttons {
    margin-bottom: 10px;
}

.curve-control-points {
    display: none;
}

.curve-controls {
    display: flex;
    gap: 10px;
    margin: 0;
}

.control-point {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.control-point input {
    width: 80px;
}

.simulation-control {
    color: white;
    border: 0;
    border-radius: 4px;
    padding: 8px 12px;
    font: inherit;
}

.input-with-suffix {
    display: flex;
    align-items: center;
    gap: 8px;
}

#start {
    background-color: #4CAF50;
}

#playpause {
    display: none;
    background-color: #f44336;

    &.playing,
    &.paused {
        display: inline-block;
    }
}

/* SVG Curve Editor Styles */
.curve-fill {
    fill: rgba(0, 122, 204, 0.2);
}

.curve-path {
    stroke: #007acc;
    stroke-width: 3;
    fill: none;
}

.curve-handle-line {
    stroke: #999999;
    stroke-width: 1;
    stroke-dasharray: 2,3;
}

.curve-control-anchor {
    fill: #0066cc;
    stroke: #ffffff;
    stroke-width: 2;
    cursor: grab;
}

.curve-control-anchor:hover {
    cursor: grab;
}

.curve-control-point {
    fill: #ff4444;
    stroke: #ffffff;
    stroke-width: 1;
    cursor: grab;
}

.curve-control-point:hover {
    cursor: grab;
}

.curve-time-label {
    font-family: sans-serif;
    font-size: 10px;
    fill: #666;
    text-anchor: middle;
}

.curve-simulation-time-line {
    stroke: #ff6600;
    stroke-width: 2;
}

.curve-simulation-time-text {
    font-family: sans-serif;
    font-size: 12px;
    font-weight: bold;
    fill: #ff6600;
}
