/* ═══════════════════════════════════════════════════════════════════
   Global Modal Minimizer — minimize bar + button styles
   ═══════════════════════════════════════════════════════════════════ */

/* ── Minimize button in modal header ── */
.cb-modal-minimize-btn {
    order: -1;
}

/* ── Minimized bar at bottom of screen ── */
.cb-minimized-bar {
    position: fixed;
    bottom: 0;
    right: 16px;
    z-index: 50;
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.cb-minimized-bar__item {
    display: flex;
    align-items: center;
    background: #1f2937;
    color: #f3f4f6;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    max-width: 320px;
    overflow: hidden;
    animation: cb-min-slide-up 0.15s ease-out;
}

@keyframes cb-min-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cb-minimized-bar__content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    flex: 1;
    min-width: 0;
    cursor: pointer;
    transition: background 0.1s;
}
.cb-minimized-bar__content:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cb-minimized-bar__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.cb-minimized-bar__title {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cb-minimized-bar__actions {
    display: flex;
    align-items: center;
    padding-right: 4px;
    gap: 2px;
}

.cb-minimized-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: #9ca3af;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
}
.cb-minimized-bar__btn svg { width: 14px; height: 14px; }
.cb-minimized-bar__btn:hover { background: rgba(255, 255, 255, 0.1); color: #f3f4f6; }

.cb-minimized-bar__btn--close:hover { background: rgba(239, 68, 68, 0.2); color: #f87171; }
