.lcp-bar-graph-container {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lcp-dataset-builder {
    margin-bottom: 20px;
}

.lcp-dataset-modal {
    width: calc(100vw - 40px) !important;
    height: calc(100vh - 40px) !important;
    max-width: none !important;
    max-height: none !important;

    .components-modal__content {
        padding: 0;
        margin: 0;
    }

    .components-modal__header {
        display: none;
    }
}

.lcp-dataset-modal-layout {
    display: flex;
    height: 100%;
}

.lcp-dataset-modal-grid {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.lcp-dataset-modal-sidebar {
    width: 300px;
    border-left: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.lcp-dataset-modal-sidebar-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;

    h2 {
        margin-top: 0;
        padding-bottom: 12px;
        border-bottom: 1px solid #ddd;
    }
}

.lcp-dataset-column-settings {
    margin-top: 20px;

    .components-base-control {
        margin-bottom: 24px;

        &:last-child {
            margin-bottom: 0;
        }

        .components-base-control__label {
            margin-bottom: 8px;
            display: block;
        }
    }
}

.lcp-dataset-modal-footer {
    padding: 16px;
    border-top: 1px solid #ddd;
    text-align: right;
}

.lcp-data-grid {
    height: 100%;
    
    .ag-theme-alpine {
        height: 100%;
        --ag-header-height: 30px;
        --ag-header-foreground-color: #1e1e1e;
        --ag-header-background-color: #f0f0f0;
        --ag-row-hover-color: #f5f5f5;
        --ag-selected-row-background-color: rgba(0, 124, 186, 0.1);
        
        .ag-header-cell {
            font-weight: 600;
        }
    }
}

.lcp-grid-context-menu {
    display: flex;
    flex-direction: column;
    padding: 8px;
    min-width: 160px;

    .components-button {
        justify-content: flex-start;
        height: 36px;
        padding: 6px 12px;
        width: 100%;
        margin: 0;

        &:hover {
            box-shadow: none;
            background: #f0f0f0;
        }

        &.is-destructive {
            color: #cc1818;
            
            &:hover {
                color: #710d0d;
            }
        }
    }
}
