﻿.btn-filter {
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin-left: 5px;
    user-select: none;
}

.dropdown-container {
    position: relative;
}

.dropdown-button {
    width: 100%;
    padding: 12px 16px;
    background-color: #2d3748;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

    .dropdown-button:hover {
        background-color: #4a5568;
    }

    .dropdown-button:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
    }

.button-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.chevron {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

    .chevron.rotate {
        transform: rotate(180deg);
    }

.dropdown-menu {
    position: absolute;
    margin-top: 0px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    min-width: 260px;
}

    .dropdown-menu.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

.dropdown-content {
    padding: 8px;
}

.dropdown-scroll {
    max-height: 300px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .checkbox-item:hover {
        background-color: #f7fafc;
    }

    .checkbox-item input[type="checkbox"] {
        margin-right: 12px;
        width: 16px;
        height: 16px;
        accent-color: #005f69;
    }

    .checkbox-item label {
        cursor: pointer;
        color: #4a5568;
        user-select: none;
    }

.separator {
    height: 1px;
    background-color: #e2e8f0;
    margin: 8px 0;
}

.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    background: none;
    color: #718096;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .action-btn:hover {
        background-color: #edf2f7;
    }

    .action-btn.select-all {
        color: #1f305a;
        background-color: #e7e7e8;
    }

        .action-btn.select-all:hover {
            background-color: #d8d8e4;
        }

.selected-options {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .selected-options h3 {
        color: #2d3748;
        margin-bottom: 12px;
        font-size: 18px;
    }

.selected-item {
    color: #22c55e;
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.no-selection {
    color: #9ca3af;
    font-size: 14px;
    font-style: italic;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: none;
    background: rgba(0, 0, 0, 0.1);
}

    .overlay.show {
        display: block;
    }

.selected-fields {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 12px;
    font-style: italic;
}
