/* POLICE LOCALE */
@font-face {
    font-family: 'ArabDances';
    src: url('fonts/ArabDances.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* LECTEUR */
#audio-player {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 220px;
    background: linear-gradient(to bottom, #0099cc 0%, #003366 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid #004488;
    overflow: hidden;
    user-select: none;
    z-index: 1000;
    cursor: move;
}

.player-header {
    text-align: center;
    color: white;
    font-family: 'ArabDances', Arial, sans-serif;
    font-size: 25px;
    letter-spacing: 1px;
    padding: 5px 0;
    text-shadow: 0 2px 2px black;
    border-bottom: 2px solid #002244;
}

.screen-container {
    background-color: #002200;
    margin: 5px 10px;
    border: 2px solid #333;
    height: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: inset 0 0 5px black;
}

.screen-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    font-family: 'VT323', monospace;
    font-size: 24px;
    color: #004400;
    line-height: 30px;
    padding-left: 5px;
    z-index: 1;
    pointer-events: none;
}

.screen-text {
    position: absolute;
    white-space: nowrap;
    font-family: 'VT323', monospace;
    font-size: 24px;
    color: #00ff00;
    line-height: 30px;
    z-index: 2;
    padding-left: 100%;
    pointer-events: none;
}

.scrolling {
    animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-101%); }
}

.controls {
    display: flex;
    justify-content: space-around;
    padding: 5px 10px;
    background-color: #001133;
}

.btn {
    width: 40px;
    height: 25px;
    background: linear-gradient(to bottom, #336699 0%, #003366 100%);
    border: 1px solid #6699cc;
    color: #66ccff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.btn:hover {
    background: linear-gradient(to bottom, #4477aa 0%, #114477 100%);
    color: white;
}

.btn.active, .btn:active {
    background: #002244;
    border-color: #336699;
    color: #00ff00;
    box-shadow: inset 0 0 5px #00ff00;
}

.drag-handle {
    background: linear-gradient(to bottom, #0099cc 0%, #006699 100%);
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 6px 0;
    border-top: 2px solid #002244;
    text-shadow: 0 1px 1px black;
}

.drag-handle span {
    display: inline-block;
    pointer-events: none;
}

.deco-lines {
    display: inline-block;
    width: 25px;
    height: 10px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.4) 0px,
        rgba(255,255,255,0.4) 1px,
        transparent 1px,
        transparent 4px
    );
    margin: 0 15px;
    vertical-align: middle;
}