/*
 * Responsive slider: explicit width snaps to card count.
 * Cards are 130px + 8px gap = 138px each.
 * Bootstrap col-md-6 content widths: ~348px (md), ~468px (lg), ~546px (xl), ~636px (xxl).
 * Arrow buttons hang 16px outside each edge, so effective consumed width = sliderW + 32px.
 *
 * 2 cards = 268px  → used at md/default
 * 3 cards = 406px  → used at lg+
 * 4 cards = 544px  → used at xxl+ (544+32=576 < 636 ✓)
 */
.queue-slider-wrap {
    width: 268px;
}

#queueSlider {
    width: 268px;
}

@media (min-width: 992px) {   /* Bootstrap lg */
    .queue-slider-wrap,
    #queueSlider {
        width: 406px;
    }
}

@media (min-width: 1400px) {  /* Bootstrap xxl */
    .queue-slider-wrap,
    #queueSlider {
        width: 565px;
    }
}

/* Queue slider arrows - remove default button chrome */
.slider-arrow-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: #fff;
    opacity: 0.85;
    cursor: pointer;
    box-shadow: none;
}

    .slider-arrow-btn:hover {
        opacity: 1;
    }

    .slider-arrow-btn:disabled {
        opacity: 0.25;
        cursor: default;
    }

    .slider-arrow-btn:focus,
    .slider-arrow-btn:active {
        outline: none;
        box-shadow: none;
    }

    .slider-arrow-btn i {
        font-size: 32px;
        text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }


.queue-edit-notice {
    border-left: 4px solid #d39e00;
    background: #fff8e1;
    color: #5f4b00;
    font-size: 0.9rem;
}


/* ===============================
   QUEUE EXPLICIT BADGE
=============================== */
.queue-explicit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: #f5d7d7; /* muted soft red */
    color: #8a3a3a; /* desaturated deep red */
    margin-left: 6px;
    line-height: 1;
    user-select: none;
}

/* Slider "Add" card must NEVER inherit edit-mode disabled styles */
.queue-add-neutral {
    pointer-events: auto !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Prevent Material icon text fallback */
.queue-add-icon::before {
    content: "add";
    font-size: 38px;
    color: #2B988F;
}

/* Lock appearance so it never changes */
.queue-add-card {
    background: #1b1b1f !important;
    border: 2px dashed #2B988F !important;
    cursor: pointer;
    transition: background .15s ease;
}

    .queue-add-card:hover {
        background: #222 !important;
    }

.queue-add-icon {
    display: block;
}

/* =========================
   Queue slider — empty state
========================= */
.queue-slider-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 16px 20px;
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #e5e7eb;
    min-height: 130px;
}
.queue-slider-empty-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #2B988F;
}
.queue-slider-empty-icons .material-icons {
    font-size: 22px;
    opacity: 0.7;
}
.queue-slider-empty-icons .queue-slider-empty-icon-mid {
    font-size: 30px;
    opacity: 1;
}
.queue-slider-empty-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.queue-slider-empty-sub {
    font-size: 0.78rem;
    color: rgba(229, 231, 235, 0.72);
    margin-bottom: 12px;
    max-width: 320px;
    line-height: 1.4;
}
.queue-slider-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2B988F, #3bbfb4);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(43, 152, 143, 0.32);
    transition: transform 0.12s ease, box-shadow 0.18s ease;
}
.queue-slider-empty-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(43, 152, 143, 0.42);
}
.queue-slider-empty-cta .material-icons {
    font-size: 18px;
}
