        .seg-container {
            max-width: 100%;
            margin: 0 auto;
            padding: 5px;
        }
        
        .seg-query-options {
            display: flex;
            justify-content: space-between;
            gap: 5px;
            margin-bottom: 0;
            position: relative;
            min-height: 5px;
            border: 2px solid #3498db;
            border-radius: 8px;
            padding: 5px;
        }
        
        .seg-query-option {
            flex: 1;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            overflow: visible;
            position: relative;
        }
        
        .seg-option-header {
            background-color: #2c3e50;
            color: white;
            padding: 10px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 8px;
        }
        
        .seg-option-header h2 {
            font-size: 18px;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .seg-option-header .seg-arrow {
            transition: transform 0.3s;
        }
        
        .seg-option-content {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 100;
            max-height: 0;
            overflow: auto;
            transition: max-height 0.3s ease-out;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-radius: 0 0 8px 8px;
        }
        
        .seg-option-content.seg-active {
            max-height: 700px;
            padding: 15px;
            border: 1px solid #ddd;
            border-top: none;
        }
        
        .seg-option-content .seg-search-box {
            margin-bottom: 15px;
            position: sticky;
            top: 0;
            background-color: white;
            z-index: 1;
            padding-top: 5px;
        }
        
        .seg-option-content input[type="text"] {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        
        .seg-horizontal-options {
            display: flex;
            flex-wrap: wrap;
            gap: 3px;
        }
        
        .seg-horizontal-item {
            display: flex;
            align-items: center;
            background-color: #e9e9e9;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            margin-bottom: 5px;
        }
        
        .seg-horizontal-item:hover {
            background-color: #e0e0e0;
        }
        
        .seg-horizontal-item.seg-selected {
            background-color: #3498db;
            color: white;
        }
        
        .seg-horizontal-category {
            margin-bottom: 1px;
            border: 1px solid #ddd;
            border-radius: 1px;
            padding: 3px;
            background-color: #f9f9f9;
        }
        
        .seg-horizontal-category-title {
            font-weight: bold;
            font-size: 14px;
            color: #333;
            margin-bottom: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
        }
        
        .seg-horizontal-category-title.seg-selected {
            color: #3498db;
        }
        
        .seg-btn {
            display: block;
            width: 100%;
            padding: 10px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            margin-top: 15px;
            font-size: 16px;
            transition: background-color 0.2s;
        }
        
        .seg-btn:hover {
            background-color: #2980b9;
        }
        
        .seg-action-buttons {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            position: sticky;
            top: 0;
            background-color: white;
            z-index: 2;
            padding: 5px 0;
        }
        
        .seg-action-buttons button {
            flex: 1;
            padding: 8px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        
        .seg-select-all-btn {
            background-color: #2c3e50;
            color: white;
        }
        
        .seg-clear-all-btn {
            background-color: #e74c3c;
            color: white;
        }
        
        .seg-search-btn {
            background-color: #27ae60;
            color: white;
        }
        
        .seg-action-buttons button:hover {
            opacity: 0.9;
        }

        .seg-global-actions {
            display: flex;
            gap: 5px;
            margin-top: 0px;
        }
        
        .seg-global-actions button {
            padding: 5px 10px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        
        .seg-query-all-btn {
            background-color: #27ae60;
            color: white;
        }
        
        .seg-reset-all-btn {
            background-color: #e74c3c;
            color: white;
        }

        .seg-results-btn {
            background-color: #3498db;
            color: white;
        }

        .seg-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.4);
        }
        
        .seg-modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 800px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .seg-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .seg-modal-title {
            font-size: 20px;
            color: #2c3e50;
            margin: 0;
        }
        
.seg-modal-close {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.seg-modal-close:hover {
    background-color: #2980b9;
    color: white;
}

        .seg-radio-container {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            margin-right: 8px;
        }
        
        .seg-radio-outer {
            width: 16px;
            height: 16px;
            border: 2px solid white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .seg-radio-outer.seg-selected {
            border-color: white;
        }
        
        .seg-radio-inner {
            width: 8px;
            height: 8px;
            background-color: white;
            border-radius: 50%;
            display: none;
        }
        
        .seg-radio-outer.seg-selected .seg-radio-inner {
            display: block;
        }

        .seg-result-module {
            margin-bottom: 20px;
            border: 1px solid #eee;
            border-radius: 5px;
            padding: 15px;
        }
        
        .seg-result-module h3 {
            margin-top: 0;
            color: #2c3e50;
            border-bottom: 1px solid #eee;
            padding-bottom: 8px;
        }
        
        .seg-result-list {
            margin: 10px 0;
            padding-left: 20px;
        }
        
        .seg-result-list li {
            margin-bottom: 5px;
        }
        
        .seg-industry-results {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        
        .seg-industry-item {
            background-color: #f0f0f0;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 14px;
        }

        .seg-loading {
            text-align: center;
            padding: 20px;
            color: #666;
        }
        
        .seg-error {
            color: #e74c3c;
            padding: 10px;
            text-align: center;
        }

        .seg-alert {
            color: #e74c3c;
            padding: 10px;
            text-align: center;
            font-weight: bold;
            background-color: #fdecea;
            border-radius: 4px;
            margin-top: 10px;
            display: none;
        }

        .seg-default-selection {
            font-style: italic;
            color: #666;
        }

        @media (max-width: 768px) {
            .seg-query-options {
                flex-direction: column;
            }
            
            .seg-option-content {
                position: static;
            }
        }