* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0e1014;
    color: #fff;
}

/* SEARCH */
#search {
    width: 100%;
    height: 70px;
    padding: 0 20px;
    font-size: 22px;
    background: #1a1e27;
    color: #fff;
    border: none;
}

/* ALBUM GRID */
#albums {
    position: absolute;
    top: 70px;
    left: 0;
    bottom: 0;
    width: 65%;
    padding: 20px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
    gap: 20px;
}

.album {
    background: #1b1f27;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    text-align: center;
}

.album img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

/* TRACKS */
#tracks {
    position: absolute;
    top: 70px;
    right: 0;
    bottom: 200px;
    width: 35%;
    padding: 20px;
    background: #141822;
    overflow-y: auto;
	height: 53%;
}

.disc-item {
    background: #1b1f27;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
}

.disc-item.selected {
    border: 4px solid orange;
}

/* BADGES */
.disc-badge {
    display: inline-block;
    background: linear-gradient(180deg,#ffb347,#ff8c00);
    color: #000;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* SELECTED */
#selectedZone {
    position: absolute;
    right: 0;
    bottom: 80px;
    width: 35%;
    padding: 12px;
    background: #0e1014;
    border-top: 2px solid #2e3442;
    overflow-y: auto;
    height: 30%;
}

.selected-album {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.selected-album img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

/* PRINT BUTTON */
#print {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35%;
    height: 80px;
    background: #2f7cff;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}


.print-box {
    background: #000;
    padding: 30px 40px;
    border-radius: 14px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

/* ===== IMPRIMANTE ===== */
.printer {
    position: relative;
    width: 80px;
    margin: 0 auto 20px auto;
}

.printer-top {
    width: 80px;
    height: 14px;
    background: #444;
    border-radius: 4px 4px 0 0;
}

.printer-body {
    width: 80px;
    height: 36px;
    background: #666;
    border-radius: 0 0 6px 6px;
}

.printer-paper {
    position: absolute;
    top: -22px;
    left: 10px;
    width: 60px;
    height: 22px;
    background: #fff;
    animation: printPaper 1s infinite ease-in-out;
}

/* Animation papier */
@keyframes printPaper {
    0%   { top: -22px; }
    50%  { top: -8px; }
    100% { top: -22px; }
}

/* ===== TEXTE ===== */
.print-countdown {
    font-size: 48px;
    font-weight: bold;
    color: #ff8c00;
}

.print-text {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.9;
}


/* état "message" */
#albums.empty {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    /*	height: 100%;	*/
    min-height: 300px;
}

#albums .empty-message {
    font-family: 'Pacifico', cursive;
    font-size: 20pt;
    color: #555;
    text-align: center;
    line-height: 1.4;
    max-width: 400px;
    opacity: 0.85;
}
