/* Basis Audio Player Styles */
.abcjs-inline-audio {
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    background-color: #2a2a2a; /* dunkleres, elegantes Grau */
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: 2px solid #666666;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.abcjs-inline-audio.abcjs-disabled {
    opacity: 0.4;
}

/* Buttons */
.abcjs-inline-audio .abcjs-btn {
    display: block;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    padding: 6px;
    background: #3c3c3c !important;
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
    line-height: 1;
    transition: all 0.15s ease;
}

.abcjs-inline-audio .abcjs-btn:hover g {
    fill: #ff6600;
    stroke: #ff6600;
}

/* Midi Button pushed state */
.abcjs-inline-audio .abcjs-midi-selection.abcjs-pushed,
.abcjs-inline-audio .abcjs-midi-loop.abcjs-pushed,
.abcjs-inline-audio .abcjs-midi-reset.abcjs-pushed {
    border: 1px solid #ff6600;
    background-color: #444444;
    box-sizing: border-box;
}

/* Progress bar */
.abcjs-inline-audio .abcjs-midi-progress-background {
    background-color: #2a2a2a;
    height: 12px;
    border-radius: 6px;
    border: 2px solid #666666;
    margin: 0 10px 0 15px;
    position: relative;
    flex: 1;
    box-sizing: border-box;
}

.abcjs-inline-audio .abcjs-midi-progress-indicator {
    width: 22px;
    margin-left: -11px; /* half of width */
    height: 16px;
    background-color: #ff6600; /* orange Highlight */
    position: absolute;
    display: inline-block;
    border-radius: 8px;
    top: -4px;
    left: 0;
    box-sizing: border-box;
    box-shadow: 0 0 4px rgba(255,102,0,0.8);
}

/* Clock & Tempo */
.abcjs-inline-audio .abcjs-midi-clock {
    margin-left: 6px;
    margin-top: 0px;
    margin-right: 4px;
    display: inline-block;
    font-family: 'Arial Black', sans-serif;
    font-size: 16px;
    color: #ff6600;
}

.abcjs-inline-audio .abcjs-tempo-wrapper {
    font-size: 11px;
    color: #cccccc;
    display: flex;
    align-items: center;
}

.abcjs-inline-audio .abcjs-midi-tempo {
    border-radius: 3px;
    border: none;
    margin: 0 3px 0 5px;
    width: 44px;
    padding-left: 3px;
    box-sizing: border-box;
}

/* Loading Animation */
.abcjs-inline-audio .abcjs-loading {
    outline: none;
    animation-name: abcjs-spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.abcjs-inline-audio .abcjs-loading-svg circle {
    stroke: #ff6600;
}

@keyframes abcjs-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Large Touch Version */
.abcjs-large .abcjs-inline-audio {
    height: 56px;
    border-radius: 8px;
}
.abcjs-large .abcjs-btn {
    width: 56px;
    height: 56px;
    font-size: 28px;
    padding: 6px 8px;
}
.abcjs-large .abcjs-midi-progress-background {
    height: 22px;
    border: 3px solid #666666;
}
.abcjs-large .abcjs-midi-progress-indicator {
    height: 30px;
    top: -8px;
    width: 40px;
}
.abcjs-large .abcjs-midi-clock {
    font-size: 32px;
    margin: 0 10px;
}
.abcjs-large .abcjs-midi-tempo {
    font-size: 22px;
    width: 52px;
}
.abcjs-large .abcjs-tempo-wrapper {
    font-size: 20px;
}

/* Warnungen verstecken */
.abcjs-css-warning {
    display: none;
}

