/* Root container */
.audio-switcher {
    display: flex;
    flex-direction: column;
    font-family: nerd, sans-serif;
    background: none;
    border-radius: var(--std-radius);
    color: var(--color-light);
    user-select: none;
    width: 100%;
}

/* Controls wrapper */
.audio-switcher .controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Row of buttons */
.audio-switcher .button-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

/* Shared button styles */
.audio-switcher .play-pause,
.audio-switcher .audio-switcher__btn {
    flex: 1 1 auto;
    background: var(--color-extra-dark);
    color: var(--color-light);
    border: none;
    border-radius: var(--std-radius);
    font-size: 24px;
    font-family: nerd, sans-serif;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.audio-switcher .play-pause:hover,
.audio-switcher .audio-switcher__btn:hover {
    transform: var(--std-hover-transform);
    background: var(--color-light);
    color: var(--color-extra-dark);
}

/* Progress bar container */
.audio-switcher .progress-container {
    position: flex;
    height: 10px;
    background: var(--color-extra-dark);
    border: none;
    border-radius: var(--std-radius);
    cursor: pointer;
    width: 100%;
    /*overflow: hidden;*/
}

/* Actual progress */
.audio-switcher .progress {
    background: var(--color-light);
    border-radius: var(--std-radius);
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

/* Toggle button states */
.audio-switcher .audio-switcher__btn.before {
    color: #fc3503;
}

.audio-switcher .audio-switcher__btn.after {
    color: #03fc07;
}

.audio-switcher .audio-switcher__btn.before:hover {
    color: var(--color-extra-dark);
}

.audio-switcher .audio-switcher__btn.after:hover {
    color: var(--color-extra-dark);
}
