/* Dark Mode Theme */
body {
    background-color: #121212;
    color: #e0e0e0;
}

.form-control {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #444;
}

.form-control::placeholder {
    color: #888;
}

.form-control:focus {
    background-color: #333;
    color: #e0e0e0;
    border-color: #1db954; /* Spotify Green */
    box-shadow: none;
}

.btn-primary {
    background-color: #1db954;
    border-color: #1db954;
}

/* Tier and Album Styling */
.tier {
    display: flex;
    margin-bottom: 10px;
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    min-height: 120px;
}

.tier-label-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 2.5rem;
    font-weight: bold;
    width: 90px;
}

.tier-dropzone {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 10px;
    gap: 15px;
}

.album {
    width: 100px;
    height: 100px;
    position: relative;
    cursor: grab;
    transition: transform 0.2s ease;
}

.album:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.album-art {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
    display: block;
}

.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Modifier and Buttons */
.album-modifier {
    position: absolute;
    top: -5px;
    left: -5px;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}

.positive {
    background-color: #1db954; /* Spotify Green */
}

.negative {
    background-color: #ff4757; /* Red */
}

.album-buttons {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 3px;
}

.album:hover .album-buttons {
    display: flex; /* Show buttons on hover */
}

.album-buttons button {
    width: 22px;
    height: 22px;
    font-size: 12px;
    line-height: 1;
    border-radius: 50%;
    padding: 0;
}

/* Tier Label Colors */
[data-tier="S"] .tier-label-container {
    color: #ff7979;
}
[data-tier="A"] .tier-label-container {
    color: #ffb24b;
}
[data-tier="B"] .tier-label-container {
    color: #f9f871;
}
[data-tier="C"] .tier-label-container {
    color: #82ff82;
}
[data-tier="D"] .tier-label-container {
    color: #79d2ff;
}
[data-tier="E"] .tier-label-container {
    color: #9c79ff;
}
[data-tier="F"] .tier-label-container {
    color: #c9c9c9;
}
.tier-label-queue {
    color: #6c757d;
}
