/* Selections Modal Styles */
        .selections-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .selections-modal.show {
            opacity: 1;
        }

        .selections-modal-content {
            background: white;
            border-radius: 16px;
            max-width: 500px;
            max-height: 80vh;
            width: 90%;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .selections-modal.show .selections-modal-content {
            transform: scale(1);
        }

    @media (min-width: 1330px) {
        .selections-modal {
            max-width: 32%;
            background: none;
            align-items: flex-start;
            right: 0;
            left: initial;
        }

        .selections-modal-content {
            margin-right: 14px;
            margin-top: 16px;
            max-height: 99vh;
            height: 96%;
        }
    }

        .selections-header {
            padding: 12px 16px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .selections-header h2 {
            margin: 0;
            color: #1e3a8a;
            font-size: 20px;
        }

        .close-modal {
            background: none;
            border: none;
            font-size: 24px;
            color: #64748b;
            cursor: pointer;
            padding: 5px 12px;
            border-radius: 4px;
            transition: all 0.2s ease;
        }

        .close-modal:hover {
            background: #f1f5f9;
            color: #1e3a8a;
        }

        .selections-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }

        .selections-summary {
            background: #f8fafc;
            border-radius: 12px;
            padding: 6px;
            margin-bottom: 20px;
        }

        .summary-stats {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 8px;
            text-align: center;
        }

        .summary-stat {
            background: white;
            padding: 10px 8px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }

        .summary-value {
            display: block;
            font-size: 18px;
            font-weight: 700;
            color: #1e3a8a;
        }

        .summary-label {
            display: block;
            font-size: 11px;
            color: #64748b;
            margin-top: 4px;
        }

        .timeline-item-info {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .selection-timeline {
            color: rgba(0, 0, 0, 0.8);
            border: 1px solid #586271;
        }

        .selection-timeline:hover {
            color: rgba(0, 0, 0, 0.9);
            border: 1px solid #0f2e59;
        }

        .category-group {
            margin-bottom: 24px;
        }

        .category-title {
            font-size: 16px;
            font-weight: 600;
            color: #1e3a8a;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .category-count {
            font-size: 12px;
            background: #e2e8f0;
            color: #64748b;
            padding: 2px 8px;
            border-radius: 12px;
            font-weight: 500;
        }

        .category-items {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .selection-item {
            background: #f8fafc;
            padding: 12px;
            border-left: 4px solid;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            transition: all 0.2s ease;
            margin-bottom: 2px;
        }

        .selection-item:hover {
            background: #f1f5f9;
            transform: translateX(-4px);
        }

        .selection-item.validation {
            border-color: #059669;
        }

        .selection-item.team {
            border-color: var(--team-color);
        }

        .selection-item.product {
            border-color: #7c3aed;
        }

        .selection-item.marketing {
            border-color: #ea580c;
        }

        .selection-item.business {
            border-color: #0369a1;
        }

        .selection-content {
            flex: 1;
        }

        .selection-title {
            font-weight: 600;
            color: #1e3a8a;
            margin-bottom: 4px;
            font-size: 14px;
        }

        .selection-description {
            font-size: 12px;
            color: #64748b;
            line-height: 1.4;
            margin-bottom: 6px;
        }

        .selection-time {
            font-size: 10px;
            color: #94a3b8;
            font-style: italic;
            display: flex;
            align-items: center;
        }

        .remove-selection {
            background: #fee2e2;
            color: var(--team-color);
            border: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            margin-left: 8px;
            flex-shrink: 0;
        }

        .remove-selection:hover {
            background: #fecaca;
            transform: scale(1.1);
        }

        .selections-footer {
            padding: 12px 16px;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 12px;
        }

        .btn-clear {
            background: #e05c5c;
            color: #462323;
            flex: 1;
        }

        .btn-clear:hover {
            background: #e2e8f0;
            color: #475569;
        }

        .btn-export {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            color: white;
            flex: 1;
        }

        .btn-export:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
        }

        .no-selections {
            text-align: center;
            padding: 40px 20px;
            color: #64748b;
        }

        .no-selections-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

        .no-selections h3 {
            color: #1e3a8a;
            margin: 0 0 8px 0;
        }

        .no-selections p {
            margin: 0;
            font-size: 14px;
        }

        /* Mobile responsiveness for modal */
        @media (max-width: 480px) {
            .selections-modal-content {
                width: 95%;
                max-height: 90vh;
            }
            
            .summary-stats {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            
            .selections-footer {
                flex-direction: column;
            }
        }

        