/* ============================================================
   Migration Banner — SQL Pending Alert
   Forge · 2026-02-25
   ============================================================ */

#migrationBannerWrapper {
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    animation: bannerSlideDown 0.35s ease;
}

@keyframes bannerSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.migration-banner {
    background: linear-gradient(90deg, #7c1d1d 0%, #991b1b 40%, #7c2d12 100%);
    border-bottom: 2px solid #f87171;
    padding: 9px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 14px rgba(248, 113, 113, 0.2);
}

.migration-banner-icon {
    font-size: 18px;
    flex-shrink: 0;
    animation: mbPulse 2.2s ease-in-out infinite;
}

@keyframes mbPulse {
    0%, 100% { opacity: 1; transform: scale(1);    }
    50%       { opacity: 0.65; transform: scale(1.2); }
}

.migration-banner-body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.migration-banner-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fca5a5;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.migration-banner-sep {
    color: rgba(255,255,255,0.25);
    font-size: 12px;
}

.migration-banner-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    color: #fef2f2;
    white-space: nowrap;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-weight: 500;
}

.migration-banner-pill.mb-days {
    background: rgba(239, 68, 68, 0.3);
    border-color: #f87171;
    color: #fecaca;
    font-weight: 700;
    font-family: inherit;
}

.migration-banner-pill.mb-path {
    background: rgba(0,0,0,0.22);
    cursor: pointer;
    transition: background 0.15s;
    user-select: all;
}

.migration-banner-pill.mb-path:hover {
    background: rgba(0,0,0,0.45);
}

.migration-banner-unlock {
    font-size: 11px;
    color: #fde68a;
    font-style: italic;
    white-space: nowrap;
}

.migration-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.mb-btn-done {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #4ade80;
    color: #86efac;
    padding: 4px 11px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.mb-btn-done:hover {
    background: rgba(34, 197, 94, 0.3);
}

.mb-btn-dismiss {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.5);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
}

.mb-btn-dismiss:hover {
    border-color: rgba(255,255,255,0.55);
    color: #fff;
    background: rgba(255,255,255,0.1);
}
