/* YTDOWN.org — queue waiting panel (inline, below the input box) */

#queue-panel {
    display: none;
}

.queue-card {
    width: min(430px, 100%);
    margin: 18px auto 0;
    background: #0087cf;
    color: white;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 26px 24px 22px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.queue-icon-wrap {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
}

.queue-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 78, 80, 0.4);
    animation: qpulse 1.6s ease-out infinite;
}

.queue-icon {
    position: relative;
    z-index: 1;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4e50, #f9d423);
    color: #fff;
    font-size: 34px;
}

@keyframes qpulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(2.1); opacity: 0; }
    100% { transform: scale(2.1); opacity: 0; }
}

.queue-title {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
}

.queue-status {
    margin: 0 0 18px;
    font-size: 14px;
    color: #cbd5e1;
    min-height: 20px;
}

.queue-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}

.queue-bar-fill {
    height: 100%;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f9d423, #ff4e50, #f9d423);
    background-size: 200% 100%;
    animation: qslide 1.4s linear infinite;
}

@keyframes qslide {
    0%   { background-position: 0% 0;    transform: translateX(-100%); }
    100% { background-position: 200% 0;  transform: translateX(250%); }
}

.queue-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #d7d7d7;
    margin-bottom: 14px;
    min-height: 20px;
}

.q-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.q-badge-live {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.queue-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #d7d7d7;
}
