html,
body {
    height: 100%;
    margin: 20px;
    padding: 20px;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
    width: 100%;
    max-width: 1116px;
    margin-bottom: 1em;
}

h1 {
    text-align: left;
    margin: 0;
}

#audio-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2em;
    width: 100%;
    max-width: 1116px;
    justify-content: center;
}

.audio-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.16em;
    margin-bottom: 1.5em;
    width: 100%;
    justify-items: stretch;
}

.audio-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.big-btn {
    font-size: 1em;
    padding: 0.7em 1.44em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 0.5em;
    transition: background 0.2s, color 0.2s;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    height: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.color1 {
    background: #3498db;
    color: #fff;
}

.color2 {
    background: rgb(2, 126, 172);
    color: #fff;
}

.color3 {
    background: #3498dd;
    color: #fff;
}

.color4 {
    background: rgb(2, 126, 172);
    color: #fff;
}

.color5 {
    background: #3498dd;
    color: #fff;
}

.playing {
    background: #000 !important;
    color: #fff !important;
}

.header-stop-btn {
    font-size: 1.8em;
    padding: 0.75em 1.64937515625em;
    border: none;
    border-radius: 8px;
    background: #e74c3c;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.header-stop-btn:hover {
    background: #c0392b;
}

.header-pause-btn {
    font-size: 1.8em;
    padding: 0.75em 1.64937515625em;
    border: none;
    border-radius: 8px;
    background: #f39c12;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.header-pause-btn:hover {
    background: #e67e22;
}

.header-jump-btn {
    font-size: 1.8em;
    padding: 0.75em 1.64937515625em;
    border: none;
    border-radius: 8px;
    background: #9b59b6;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.header-jump-btn:hover {
    background: #8e44ad;
}

.header-jump-20-btn {
    font-size: 1.8em;
    padding: 0.75em 1.64937515625em;
    border: none;
    border-radius: 8px;
    background: #8e44ad;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.header-jump-20-btn:hover {
    background: #7d3c98;
}

.header-jump-forward-btn {
    font-size: 1.8em;
    padding: 0.75em 1.64937515625em;
    border: none;
    border-radius: 8px;
    background: #16a085;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.header-jump-forward-btn:hover {
    background: #138d75;
}

.header-jump-forward-20-btn {
    font-size: 1.8em;
    padding: 0.75em 1.64937515625em;
    border: none;
    border-radius: 8px;
    background: #138d75;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.header-jump-forward-20-btn:hover {
    background: #117a65;
}

.progress-container {
    width: 100%;
    max-width: 1116px;
    margin: 1em 0;
    display: flex;
    align-items: center;
    gap: 1em;
}

.progress-bar {
    flex: 0.96;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #3498db;
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 12px;
}

.time-display {
    font-size: 2.2em;
    color: #666;
    min-width: 120px;
    text-align: center;
}

.current-track {
    font-size: 0.9em;
    color: #333;
    font-weight: bold;
    min-width: 200px;
}
