body {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: #eee;
    margin: 0;
    padding: 0;
}

a, a:hover {
    color: #fff;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.container h1 {
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    line-height: 1;
}

.container p {
    text-align: center;
    margin: 0 0 30px 0;
    line-height: 1;
    font-size: 14px;
}

h2 {
    margin-bottom: 20px;
    color: #ddd;
}

.beat-editor,
.library {
    background-color: #333;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.beat-editor {
    margin-bottom: 40px;
}

.library {
    margin-bottom: 40px;
}

.controls {
    margin-bottom: 20px;
}

.controls-bottom {
    margin-top: 20px;
}

.controls label {
    color: #ddd;
    margin-right: 5px;
}

input[type="number"] {
    background-color: #444;
    color: #eee;
    border: 1px solid #555;
    padding: 4px 5px;
    margin-right: 10px;
}

button {
    background-color: #555;
    color: #eee;
    border: 1px solid #666;
    padding: 5px 10px;
    cursor: pointer;
    margin-right: 5px;
}

button:hover {
    background-color: #666;
}

button:active {
    background-color: #777;
}

#play, #stop, #pause {
    padding: 10px 30px;
    font-size: 16px;
}

#save-beat {
    background-color: #333;
    border-color: #444;
}

.track {
    margin-bottom: 10px;
    width: 100%;
}

.track-label {
    display: block;
    width: 100%;
    clear: left;
}

.step {
    background-color: #444;
    border: 1px solid #555;
    height: 35px;
    cursor: pointer;
    width: 11%;
}

.step.playing {
    background-color: rgba(0, 255, 0, 0.3);
}

.step.active, .step.playing.active {
    background-color: #ee6e73;
    border-color: #dd5b66;
}

.library-item {
    margin-bottom: 10px;
}

.library-item button {
    width: 100%;
}
