body {
    background: #0f0f0f;
    color: #00ff00;
    font-family: "Courier New", monospace;
    margin: 20px;
}

canvas {
    display: block;
    margin: 0 auto;
}

.controls {
    margin-top: 10px;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
}

#canvas-holder {
    border: 2px solid #333;
    display: inline-block;
    padding: 0;
}

.controls input {
    background: #000;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 8px;
    font-family: "Courier New", monospace;
    outline: none;
}

.controls button {
    background: #00ff00;
    color: #000;
    border: none;
    padding: 8px 15px;
    font-family: "Courier New", monospace;
    font-weight: bold;
    cursor: pointer;
    margin-left: 5px;
}

.controls button:hover {
    background: #00cc00;
}

#playlist-items {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #333;
}

.playlist-item {
    padding: 10px;
    border-bottom: 1px solid #222;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.playlist-item:hover {
    background: #222;
    color: #fff;
}

.playlist-item img {
    margin-right: 15px;
    width: 80px;
}

.playlist-item.playing {
    background: #004400;
    border-left: 5px solid #00ff00;
}

#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #222;
    color: #fff;
    padding: 12px 24px;
    margin-top: 10px;
    border-radius: 4px;
    border-left: 5px solid #00ff00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.error {
    border-left-color: #ff4444;
}

.toast.warn {
    border-left-color: #ffbb33;
}

/* Media Controls Styling */
.media-controls-main {
    margin-top: 15px;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #333;
}

.media-controls-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.media-controls-main button {
    background: #333;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 5px 15px;
    font-family: "Courier New", monospace;
    cursor: pointer;
    min-width: 80px;
}

.media-controls-main button:hover:not(:disabled) {
    background: #006400;
    color: #fff;
}

.media-controls-main button:disabled {
    border-color: #444;
    color: #444;
    cursor: not-allowed;
}

.media-controls-main button.active {
    background-color: #00ff00;
    color: #000;
}

.main-seekbar {
    flex-grow: 1;
    accent-color: #00ff00;
    cursor: pointer;
}

.main-seekbar:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.time-info {
    font-size: 14px;
    min-width: 120px;
    text-align: right;
}


/*
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #1a1a1a;
    color: #00ff00;
    border-left: 4px solid #00ff00;
    padding: 12px 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    min-width: 250px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.error {
    border-left-color: #ff0000;
    color: #ff0000;
}

.toast.warn {
    border-left-color: #ffff00;
    color: #ffff00;
}

.toast.info {
    border-left-color: #0088ff;
    color: #0088ff;
}
*/